From 2c79fd4292d3f1382d6968da939bebc85eaf0820 Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <fourdan.olivier@wanadoo.fr>
Date: Sat, 28 Aug 2004 23:24:18 +0000
Subject: [PATCH] Cleanup, remove previous booleans replaced by bit flags.

(Old svn revision: 11929)
---
 src/client.h | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/client.h b/src/client.h
index d076270d3..ef0c0a4ca 100644
--- a/src/client.h
+++ b/src/client.h
@@ -140,7 +140,7 @@
 #define CONSTRAINED_WINDOW(c)          ((c->win_layer > WIN_LAYER_DESKTOP) && \
                                         (c->win_layer < WIN_LAYER_ABOVE_DOCK) && \
                                        !(c->type & (WINDOW_DESKTOP | WINDOW_DOCK)) && \
-                                       !(c->legacy_fullscreen))
+                                       !FLAG_TEST(c->xfwm_flags, XFWM_FLAG_LEGACY_FULLSCREEN))
 
 #define WINDOW_TYPE_DIALOG               (WINDOW_DIALOG | WINDOW_MODAL_DIALOG)
 #define WINDOW_TYPE_DONT_PLACE           (WINDOW_DESKTOP | WINDOW_DOCK | WINDOW_SPLASHSCREEN)
@@ -214,13 +214,6 @@ struct _Client
     Client *next;
     Client *prev;
     netWindowType type;
-    gboolean draw_active;
-    gboolean seen_active; /* For Urgency */
-    gboolean first_map;
-    gboolean legacy_fullscreen;
-    gboolean demands_attention;
-    gboolean urgent;
-    guint blink_timeout_id;
     int x;
     int y;
     int width;
@@ -248,6 +241,8 @@ struct _Client
     unsigned long flags;
     unsigned long wm_flags;
     unsigned long xfwm_flags;
+    /* Timout to manage blinking decorations for urgent windows */
+    guint blink_timeout_id;
     /* Pixmap caching */
     ClientPixmapCache pm_cache;
 #ifdef HAVE_LIBSTARTUP_NOTIFICATION
-- 
GitLab