summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/screen.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index 72aa1dc..03b97bf 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -271,6 +271,8 @@ CompTimeoutSource::create ()
return Glib::RefPtr <CompTimeoutSource> (new CompTimeoutSource ());
}
+#define COMPIZ_TIMEOUT_WAIT 15
+
bool
CompTimeoutSource::prepare (int &timeout)
{
@@ -289,7 +291,7 @@ CompTimeoutSource::prepare (int &timeout)
* and that doesn't stop until compiz does
*/
- timeout = 0;
+ timeout = COMPIZ_TIMEOUT_WAIT;
return true;
}