ClientMessage bug

This commit is contained in:
seanpringle
2012-09-11 17:08:13 +10:00
parent 323da794f5
commit cdaca35a6f
2 changed files with 8 additions and 13 deletions

5
xoat.h
View File

@@ -113,11 +113,11 @@ Window current = None;
stack windows, snapshot;
#define for_windows(i,c)\
for ((i) = 0, query_windows(); (i) < windows.depth; (i)++)\
for (query_windows(), (i) = 0; (i) < windows.depth; (i)++)\
if (((c) = windows.clients[(i)]))
#define for_windows_rev(i,c)\
for ((i) = windows.depth-1, query_windows(); (i) > -1; (i)--)\
for (query_windows(), (i) = windows.depth-1; (i) > -1; (i)--)\
if (((c) = windows.clients[(i)]))
#define for_spots(i)\
@@ -195,7 +195,6 @@ enum {
typedef void (*handler)(XEvent*);
typedef void (*action)(void*, int, client*);
typedef void (*message)(client*);
typedef struct {
unsigned int mod;