summaryrefslogtreecommitdiff
path: root/plugins/decor/src/decor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/decor/src/decor.cpp')
-rw-r--r--plugins/decor/src/decor.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/decor/src/decor.cpp b/plugins/decor/src/decor.cpp
index ba35c8d..0070271 100644
--- a/plugins/decor/src/decor.cpp
+++ b/plugins/decor/src/decor.cpp
@@ -648,7 +648,11 @@ static bool
decorOffsetMove (CompWindow *w, XWindowChanges xwc, unsigned int mask)
{
CompOption::Vector o;
- o.resize (0);
+ o.resize (1);
+
+ o.at (0).setName ("window", CompOption::TypeInt);
+ o.at (0).value ().set ((int) w->id ());
+
w->configureXWindow (mask, &xwc);
screen->handleCompizEvent ("decor", "window_decorated", o);
return false;