diff options
author | oga <oga> | 2008-06-18 19:09:12 +0000 |
---|---|---|
committer | oga <oga> | 2008-06-18 19:09:12 +0000 |
commit | 2bddbe12f46962e069370569c90f09e621cdc559 (patch) | |
tree | d54c671c0133be229b391df20b809a499f690287 | |
parent | 0ba60f0b94a6097a33aa434ade04bda619e6e33b (diff) | |
download | cwm-2bddbe12f46962e069370569c90f09e621cdc559.tar.gz cwm-2bddbe12f46962e069370569c90f09e621cdc559.tar.xz cwm-2bddbe12f46962e069370569c90f09e621cdc559.zip |
Revert previous "fix" it introduces new issues of its own.
The problem that's causing us to lose windows is that rapid hiding and unhiding causes a backlog of X events, so we lose track of client state, and delete cc->pwin when we should not. A proper fix will arrive when it's been worked out.
-rw-r--r-- | xevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c index b4f068c..0dbf99a 100644 --- a/xevents.c +++ b/xevents.c @@ -70,7 +70,7 @@ xev_handle_unmapnotify(struct xevent *xev, XEvent *ee) struct client_ctx *cc; if ((cc = client_find(e->window)) != NULL) - xu_setstate(cc, WithdrawnState); + client_delete(cc, e->send_event, 0); xev_register(xev); } |