From e1d87e891c43c4c40b0bdd2f2627286e9bffdef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20Ignacio=20Aramend=C3=ADa?= Date: Tue, 24 Jun 2014 11:49:47 -0300 Subject: Add "effect_pending" flag Initialized at META_EFFECT_NONE. The management of this should be done by caller functions to effect functions. --- src/core/window-private.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/window-private.h') 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 #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 */ -- cgit v1.2.1