diff options
author | Owen Taylor <owt1@cornell.edu> | 1998-03-28 02:08:27 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-03-28 02:08:27 +0000 |
commit | 5b3cc69b4314a5206c0da6b16d34724ae0bba9ba (patch) | |
tree | 8482cc74974db6d75a6de53a3a460f0e0f15768b /gdk/x11/gdkmain-x11.c | |
parent | 7033e33822a607feb3683516f9d83426f7982694 (diff) | |
download | gtk+-5b3cc69b4314a5206c0da6b16d34724ae0bba9ba.tar.gz |
Don't call XTranslateCoordinates on a destroyed window. (Why do we do
Fri Mar 27 21:01:17 1998 Owen Taylor <owt1@cornell.edu>
* gdk/gdk.c (gdk_event_translate): Don't call
XTranslateCoordinates on a destroyed window. (Why do we
do event processing at all on destroyed windows when we
throw out the results?)
* gtk/gtklabel.c: Clear the background when changing style/
state.
Diffstat (limited to 'gdk/x11/gdkmain-x11.c')
-rw-r--r-- | gdk/x11/gdkmain-x11.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c index 14ebfa4e91..fb0d44bfe7 100644 --- a/gdk/x11/gdkmain-x11.c +++ b/gdk/x11/gdkmain-x11.c @@ -2556,7 +2556,8 @@ gdk_event_translate (GdkEvent *event, event->configure.height = xevent->xconfigure.height; if (!xevent->xconfigure.x && - !xevent->xconfigure.y) + !xevent->xconfigure.y && + !window_private->destroyed) { gint tx = 0; gint ty = 0; |