forked from AuroraMiddleware/gtk
Don't generate events on destroyed windows.
2005-07-07 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't generate events on destroyed windows.
This commit is contained in:
parent
1df38871e1
commit
5a997f0f37
@ -1,5 +1,8 @@
|
||||
2005-07-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
|
||||
generate events on destroyed windows.
|
||||
|
||||
Implement Drag-and-Drop to the file list. (#145121, Sven Neumann)
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-07-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
|
||||
generate events on destroyed windows.
|
||||
|
||||
Implement Drag-and-Drop to the file list. (#145121, Sven Neumann)
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-07-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
|
||||
generate events on destroyed windows.
|
||||
|
||||
Implement Drag-and-Drop to the file list. (#145121, Sven Neumann)
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb)
|
||||
|
@ -142,6 +142,8 @@ generate_grab_broken_event (GdkWindow *window,
|
||||
gboolean keyboard,
|
||||
gboolean implicit,
|
||||
GdkWindow *grab_window)
|
||||
{
|
||||
if (!GDK_WINDOW_DESTROYED (window))
|
||||
{
|
||||
GdkEvent event;
|
||||
|
||||
@ -154,6 +156,7 @@ generate_grab_broken_event (GdkWindow *window,
|
||||
|
||||
gdk_event_put (&event);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
*--------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user