diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-06-18 19:09:13 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-06-18 19:09:13 +0000 |
commit | 861d256220eca94364ad03b560fc83f8bac078f1 (patch) | |
tree | db287ca47283bbb2c47eb76b76182ac03d8889c6 /app | |
parent | efc4f8b8ebea7d50a6f4911feebc488bee0b6354 (diff) |
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.
Diffstat (limited to 'app')
-rw-r--r-- | app/cwm/xevents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c index 5c60f8278..1db01ae76 100644 --- a/app/cwm/xevents.c +++ b/app/cwm/xevents.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: xevents.c,v 1.23 2008/06/17 23:40:33 oga Exp $ + * $Id: xevents.c,v 1.24 2008/06/18 19:09:12 oga Exp $ */ /* @@ -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); } |