# HG changeset patch # User ib # Date 1354648398 0 # Node ID af72f85b6f44cf248bd47f6188956e0dd49f52a5 # Parent c505a4aa9582a1f5ad67c93cd87382a8e0549e12 Define symbolic constant wsNone for "no window state". Use it instead of a numeric constant. diff -r c505a4aa9582 -r af72f85b6f44 gui/wm/ws.c --- a/gui/wm/ws.c Tue Dec 04 19:10:44 2012 +0000 +++ b/gui/wm/ws.c Tue Dec 04 19:13:18 2012 +0000 @@ -668,7 +668,7 @@ if (l == -1) return !wsTrue; - wsWindowList[l]->State = 0; + wsWindowList[l]->State = wsNone; switch (Event->type) { case ClientMessage: diff -r c505a4aa9582 -r af72f85b6f44 gui/wm/ws.h --- a/gui/wm/ws.h Tue Dec 04 19:10:44 2012 +0000 +++ b/gui/wm/ws.h Tue Dec 04 19:13:18 2012 +0000 @@ -85,6 +85,7 @@ #define wsRGB15 7 #define wsBGR15 8 +#define wsNone 0 #define wsWindowVisible 1 #define wsWindowPartialVisible 2 #define wsWindowNotVisible 4