summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-12-13 21:07:03 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-12-13 21:07:03 +0800
commitc9430dd74862e94884a4e3fb11a7b90e78d37a5f (patch)
treeee98d88a3bc41521d5c209e606924d83cc524251
parent3c757a9e591d645a0e0d537382a1261b2cb8500b (diff)
downloadcompiz-with-glib-mainloop-c9430dd74862e94884a4e3fb11a7b90e78d37a5f.tar.gz
compiz-with-glib-mainloop-c9430dd74862e94884a4e3fb11a7b90e78d37a5f.tar.bz2
Add a compiz event for when we have been decorated
-rw-r--r--plugins/decor/src/decor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/decor/src/decor.cpp b/plugins/decor/src/decor.cpp
index 1c5b2cd..2a249e3 100644
--- a/plugins/decor/src/decor.cpp
+++ b/plugins/decor/src/decor.cpp
@@ -647,7 +647,10 @@ DecorWindow::shiftY ()
static bool
decorOffsetMove (CompWindow *w, XWindowChanges xwc, unsigned int mask)
{
+ CompOption::Vector o;
+ o.resize (0);
w->configureXWindow (mask, &xwc);
+ screen->handleCompizEvent ("decor", "window_decorated", o);
return false;
}