From 7329ec0e6d192dc8f4046e3776d5a3bc07cd3f12 Mon Sep 17 00:00:00 2001 From: sabetts Date: Thu, 24 May 2001 21:01:10 +0000 Subject: * src/events.c (colormap_notify): ignore badwindows when retrieving and installing the colormap. * src/manage.c (withdraw_window): ignore badwindows during all Xlib calls. --- src/manage.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/manage.c') diff --git a/src/manage.c b/src/manage.c index b379069..11fbfd9 100644 --- a/src/manage.c +++ b/src/manage.c @@ -530,10 +530,11 @@ withdraw_window (rp_window *win) remove_from_list (win); append_to_list (win, rp_unmapped_window_sentinel); + ignore_badwindow++; + XRemoveFromSaveSet (dpy, win->w); set_state (win, WithdrawnState); - - ignore_badwindow++; XSync (dpy, False); + ignore_badwindow--; } -- cgit v1.2.3