Don't crash on broken ClientMessage events. (#157056, Owen Taylor)
2004-11-01 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't crash on broken ClientMessage events. (#157056, Owen Taylor)
This commit is contained in:
committed by
Matthias Clasen
parent
8238ec0e30
commit
55310be446
@@ -1,3 +1,8 @@
|
||||
2004-11-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't crash on
|
||||
broken ClientMessage events. (#157056, Owen Taylor)
|
||||
|
||||
2004-10-31 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2004-11-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't crash on
|
||||
broken ClientMessage events. (#157056, Owen Taylor)
|
||||
|
||||
2004-10-31 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2004-11-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't crash on
|
||||
broken ClientMessage events. (#157056, Owen Taylor)
|
||||
|
||||
2004-10-31 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2004-11-01 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't crash on
|
||||
broken ClientMessage events. (#157056, Owen Taylor)
|
||||
|
||||
2004-10-31 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
|
||||
|
||||
@@ -2005,7 +2005,12 @@ gdk_wm_protocols_filter (GdkXEvent *xev,
|
||||
{
|
||||
XEvent *xevent = (XEvent *)xev;
|
||||
GdkWindow *win = event->any.window;
|
||||
GdkDisplay *display = GDK_WINDOW_DISPLAY (win);
|
||||
GdkDisplay *display;
|
||||
|
||||
if (!win)
|
||||
return GDK_FILTER_REMOVE;
|
||||
|
||||
display = GDK_WINDOW_DISPLAY (win);
|
||||
|
||||
if ((Atom) xevent->xclient.data.l[0] == gdk_x11_get_xatom_by_name_for_display (display, "WM_DELETE_WINDOW"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user