summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-10-27 00:04:26 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-10-27 00:04:26 +0800
commit53f984e74cddba74fc5068e7620dd066637197fa (patch)
tree8d4071ff4917b347f5adf21e6aed024ba331dfc1
parent966542d39240adc926b9259b1d26e92ef3229072 (diff)
downloadworkarounds-53f984e74cddba74fc5068e7620dd066637197fa.tar.gz
workarounds-53f984e74cddba74fc5068e7620dd066637197fa.tar.bz2
Don't disable the ::handleCompizEvent function where there are windows
still minimizing (since we still need a notification from them as to when they've finished animating)
-rw-r--r--src/workarounds.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/workarounds.cpp b/src/workarounds.cpp
index 2e291f3..7911cd8 100644
--- a/src/workarounds.cpp
+++ b/src/workarounds.cpp
@@ -890,7 +890,8 @@ WorkaroundsScreen::handleCompizEvent (const char *pluginName,
}
}
- if (!CompOption::getBoolOptionNamed (o, "active", false))
+ if (!CompOption::getBoolOptionNamed (o, "active", false) &&
+ minimizingWindows.empty ())
screen->handleCompizEventSetEnabled (this, false);
screen->handleCompizEvent (pluginName, eventName, o);