diff options
author | okan <okan> | 2013-11-12 21:25:00 +0000 |
---|---|---|
committer | okan <okan> | 2013-11-12 21:25:00 +0000 |
commit | 2937b2066f005ccb6f89bfe6480284874a398feb (patch) | |
tree | 27be895b7112ac1bd77976eb4a84008ff96b514b /calmwm.h | |
parent | bda68b09244bc2130839e6a828158cf1a9f0839b (diff) | |
download | cwm-2937b2066f005ccb6f89bfe6480284874a398feb.tar.gz cwm-2937b2066f005ccb6f89bfe6480284874a398feb.tar.xz cwm-2937b2066f005ccb6f89bfe6480284874a398feb.zip |
Alter the r1.35 of event.c race fix. Remove the forward looking event
queue check (removing the need for a server grab/ungrab) - if the client is going away, let it fall all the way through to a DestroyNotify event. There's no longer a need for us to manually destroy a client ourselves (removing yet another server grab/ungrab). Instead, when the UnmapNotify event is synthetic, simply set the state to Withdrawn (as per ICCCM), else Iconic (in our case 'hidden'). Verified with test case from the 2009 race which was the original reason for r1.35 of event.c.
Diffstat (limited to 'calmwm.h')
-rw-r--r-- | calmwm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h index bedfde0..d65b437 100644 --- a/calmwm.h +++ b/calmwm.h @@ -370,7 +370,7 @@ struct client_ctx *client_current(void); void client_cycle(struct screen_ctx *, int); void client_cycle_leave(struct screen_ctx *, struct client_ctx *); -void client_delete(struct client_ctx *, int); +void client_delete(struct client_ctx *); void client_draw_border(struct client_ctx *); struct client_ctx *client_find(Window); void client_freeze(struct client_ctx *); |