summaryrefslogtreecommitdiff
path: root/src/privatescreen.h
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-02-03 11:16:12 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-02-03 11:16:12 +0800
commita6e62e23a2065e8ce2aa265ee73cba052895ff9c (patch)
treec1d7a5a5e70be86774b8deb9e2f655de8eacbf96 /src/privatescreen.h
parente259d46920b561b13e3a45c5b902c8cf093d2afb (diff)
downloadunity-window-decorator-a6e62e23a2065e8ce2aa265ee73cba052895ff9c.tar.gz
unity-window-decorator-a6e62e23a2065e8ce2aa265ee73cba052895ff9c.tar.bz2
Activate the topmost window when lowering a window, unless click-to-focus is off.
Forward port of 85ba708cb894658c9bf9862a311010a9b79ec6f2 to master
Diffstat (limited to 'src/privatescreen.h')
-rw-r--r--src/privatescreen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/privatescreen.h b/src/privatescreen.h
index c31a89c..624b671 100644
--- a/src/privatescreen.h
+++ b/src/privatescreen.h
@@ -291,6 +291,9 @@ class PrivateScreen : public CoreOptions {
void disableEdge (int edge);
void addScreenActions ();
+
+ CompWindow *
+ focusTopMostWindow ();
public: