summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/move/src/move.cpp3
-rw-r--r--plugins/resize/src/resize.cpp3
2 files changed, 6 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;
diff --git a/plugins/resize/src/resize.cpp b/plugins/resize/src/resize.cpp
index d38e604..7371e0b 100644
--- a/plugins/resize/src/resize.cpp
+++ b/plugins/resize/src/resize.cpp
@@ -452,6 +452,9 @@ resizeInitiate (CompAction *action,
w->grabNotify (x, y, state, grabMask);
+ if (screen->getOption ("raise_on_click")->value ().b ())
+ w->updateAttributes (CompStackingUpdateModeAboveFullscreen);
+
/* using the paint rectangle is enough here
as we don't have any stretch yet */
rs->getPaintRectangle (&box);