mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Don't respond to pings on a root window; prevents infinite loops if we are
Tue Jun 3 18:32:30 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't respond to pings on a root window; prevents infinite loops if we are selecting for SubstructureNotify on the root window. (#111945, Sergey V. Udaltsov)
This commit is contained in:
parent
84ebfb7efa
commit
eb6debd4e0
@ -1,3 +1,10 @@
|
||||
Tue Jun 3 18:32:30 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't
|
||||
respond to pings on a root window; prevents infinite
|
||||
loops if we are selecting for SubstructureNotify on the
|
||||
root window. (#111945, Sergey V. Udaltsov)
|
||||
|
||||
Tue Jun 3 17:39:16 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
#71597, reported by Morten Welinder
|
||||
|
@ -1,3 +1,10 @@
|
||||
Tue Jun 3 18:32:30 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't
|
||||
respond to pings on a root window; prevents infinite
|
||||
loops if we are selecting for SubstructureNotify on the
|
||||
root window. (#111945, Sergey V. Udaltsov)
|
||||
|
||||
Tue Jun 3 17:39:16 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
#71597, reported by Morten Welinder
|
||||
|
@ -1,3 +1,10 @@
|
||||
Tue Jun 3 18:32:30 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't
|
||||
respond to pings on a root window; prevents infinite
|
||||
loops if we are selecting for SubstructureNotify on the
|
||||
root window. (#111945, Sergey V. Udaltsov)
|
||||
|
||||
Tue Jun 3 17:39:16 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
#71597, reported by Morten Welinder
|
||||
|
@ -1,3 +1,10 @@
|
||||
Tue Jun 3 18:32:30 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't
|
||||
respond to pings on a root window; prevents infinite
|
||||
loops if we are selecting for SubstructureNotify on the
|
||||
root window. (#111945, Sergey V. Udaltsov)
|
||||
|
||||
Tue Jun 3 17:39:16 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
#71597, reported by Morten Welinder
|
||||
|
@ -1,3 +1,10 @@
|
||||
Tue Jun 3 18:32:30 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't
|
||||
respond to pings on a root window; prevents infinite
|
||||
loops if we are selecting for SubstructureNotify on the
|
||||
root window. (#111945, Sergey V. Udaltsov)
|
||||
|
||||
Tue Jun 3 17:39:16 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
#71597, reported by Morten Welinder
|
||||
|
@ -1889,7 +1889,9 @@ gdk_wm_protocols_filter (GdkXEvent *xev,
|
||||
XSync (GDK_WINDOW_XDISPLAY (win), False);
|
||||
gdk_error_trap_pop ();
|
||||
}
|
||||
else if ((Atom) xevent->xclient.data.l[0] == gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_PING"))
|
||||
else if ((Atom) xevent->xclient.data.l[0] == gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_PING") &&
|
||||
!_gdk_x11_display_is_root_window (display,
|
||||
xevent->xclient.window))
|
||||
{
|
||||
XEvent xev = *xevent;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user