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.
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user