Skip to content
Snippets Groups Projects
Commit 2c79fd42 authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

Cleanup, remove previous booleans replaced by bit flags.

(Old svn revision: 11929)
parent 7c656e19
No related branches found
No related tags found
No related merge requests found
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
#define CONSTRAINED_WINDOW(c) ((c->win_layer > WIN_LAYER_DESKTOP) && \ #define CONSTRAINED_WINDOW(c) ((c->win_layer > WIN_LAYER_DESKTOP) && \
(c->win_layer < WIN_LAYER_ABOVE_DOCK) && \ (c->win_layer < WIN_LAYER_ABOVE_DOCK) && \
!(c->type & (WINDOW_DESKTOP | WINDOW_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_DIALOG (WINDOW_DIALOG | WINDOW_MODAL_DIALOG)
#define WINDOW_TYPE_DONT_PLACE (WINDOW_DESKTOP | WINDOW_DOCK | WINDOW_SPLASHSCREEN) #define WINDOW_TYPE_DONT_PLACE (WINDOW_DESKTOP | WINDOW_DOCK | WINDOW_SPLASHSCREEN)
...@@ -214,13 +214,6 @@ struct _Client ...@@ -214,13 +214,6 @@ struct _Client
Client *next; Client *next;
Client *prev; Client *prev;
netWindowType type; 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 x;
int y; int y;
int width; int width;
...@@ -248,6 +241,8 @@ struct _Client ...@@ -248,6 +241,8 @@ struct _Client
unsigned long flags; unsigned long flags;
unsigned long wm_flags; unsigned long wm_flags;
unsigned long xfwm_flags; unsigned long xfwm_flags;
/* Timout to manage blinking decorations for urgent windows */
guint blink_timeout_id;
/* Pixmap caching */ /* Pixmap caching */
ClientPixmapCache pm_cache; ClientPixmapCache pm_cache;
#ifdef HAVE_LIBSTARTUP_NOTIFICATION #ifdef HAVE_LIBSTARTUP_NOTIFICATION
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment