summaryrefslogtreecommitdiff
path: root/src/core/window-private.h
diff options
context:
space:
mode:
authorJoaquín Ignacio Aramendía <[email protected]>2014-06-24 11:49:47 -0300
committerJoaquín Ignacio Aramendía <[email protected]>2014-06-26 20:23:32 -0300
commite1d87e891c43c4c40b0bdd2f2627286e9bffdef5 (patch)
tree9f2a5e2cce04e034e83f5d0ce0146a476317ab75 /src/core/window-private.h
parent5675f355396d58bcbb16f8e7fabd60d5d3bc69e1 (diff)
downloadmarco-e1d87e891c43c4c40b0bdd2f2627286e9bffdef5.tar.bz2
marco-e1d87e891c43c4c40b0bdd2f2627286e9bffdef5.tar.xz
Add "effect_pending" flag
Initialized at META_EFFECT_NONE. The management of this should be done by caller functions to effect functions.
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r--src/core/window-private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h
index dcb19d7f..65359e15 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -36,6 +36,7 @@
#include <config.h>
#include "window.h"
+#include "effects.h"
#include "screen-private.h"
#include "util.h"
#include "stack.h"
@@ -185,6 +186,9 @@ struct _MetaWindow
guint was_minimized : 1;
guint tab_unminimized : 1;
+ /* Whether there is a pending effect */
+ MetaEffectType effect_pending;
+
/* Whether the window is mapped; actual server-side state
* see also unmaps_pending
*/