summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-12-13 21:08:59 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-12-13 21:09:41 +0800
commitda624e3171310d70bd7bfdd8a81b1d88f378a7e6 (patch)
tree63686aecfaec66ab5d83b27afdc1da169a9c7f73
parent93d14a9489c1b7dfb1cb4b4b40c1702c86f1344b (diff)
downloadcompiz-with-glib-mainloop-da624e3171310d70bd7bfdd8a81b1d88f378a7e6.tar.gz
compiz-with-glib-mainloop-da624e3171310d70bd7bfdd8a81b1d88f378a7e6.tar.bz2
Also beautify
-rw-r--r--plugins/decor/src/decor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/decor/src/decor.cpp b/plugins/decor/src/decor.cpp
index 5c2d9b8..ba35c8d 100644
--- a/plugins/decor/src/decor.cpp
+++ b/plugins/decor/src/decor.cpp
@@ -1255,15 +1255,15 @@ DecorWindow::windowNotify (CompWindowNotify n)
case CompWindowNotifyReparent:
update (true);
break;
- /* We get the notification for shade before the window is
- * actually resized which means that calling update ->
- * damageOutputExtents here will not do anything useful for us
- * so we need to track when windows are (un)shading and then wait
- * for the following resize notification to actually
- * update their decoration (since at this point they would have
- * been resized)
- */
case CompWindowNotifyShade:
+ /* We get the notification for shade before the window is
+ * actually resized which means that calling update ->
+ * damageOutputExtents here will not do anything useful for us
+ * so we need to track when windows are (un)shading and then wait
+ * for the following resize notification to actually
+ * update their decoration (since at this point they would have
+ * been resized)
+ */
shading = true;
unshading = false;
break;