summaryrefslogtreecommitdiff
path: root/plugins/move/src/move.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-12-31 13:27:14 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-12-31 13:27:14 +0800
commitb2638abc484acdb9f2395e640b814f57a1d6e1e0 (patch)
tree6106325f710522a61db7b3b411faccf83a596629 /plugins/move/src/move.cpp
parentdb817399062411314db9d4fbce40ab574b698bde (diff)
downloadcompiz-with-glib-mainloop-b2638abc484acdb9f2395e640b814f57a1d6e1e0.tar.gz
compiz-with-glib-mainloop-b2638abc484acdb9f2395e640b814f57a1d6e1e0.tar.bz2
Raise window on move/resize initiation in raise-on-click mode.
Forward port a32f5bf9cef3ec0c40c7ac60b8b87f4083016f98 to master
Diffstat (limited to 'plugins/move/src/move.cpp')
-rw-r--r--plugins/move/src/move.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/move/src/move.cpp b/plugins/move/src/move.cpp
index 77556a5..300d337 100644
--- a/plugins/move/src/move.cpp
+++ b/plugins/move/src/move.cpp
@@ -127,6 +127,9 @@ moveInitiate (CompAction *action,
w->grabNotify (x, y, mods, grabMask);
+ if (screen->getOption ("raise_on_click")->value ().b ())
+ w->updateAttributes (CompStackingUpdateModeAboveFullscreen);
+
if (state & CompAction::StateInitKey)
{
int xRoot, yRoot;