Update the user time when receiving a WM_DELETE message. (#162980, Elijah
2005-01-05 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update the user time when receiving a WM_DELETE message. (#162980, Elijah Newren)
This commit is contained in:
committed by
Matthias Clasen
parent
5d26356887
commit
7e4cf78803
@ -2069,6 +2069,8 @@ gdk_wm_protocols_filter (GdkXEvent *xev,
|
||||
|
||||
event->any.type = GDK_DELETE;
|
||||
|
||||
gdk_x11_window_set_user_time (win, xevent->xclient.data.l[1]);
|
||||
|
||||
return GDK_FILTER_TRANSLATE;
|
||||
}
|
||||
else if (atom == gdk_x11_get_xatom_by_name_for_display (display, "WM_TAKE_FOCUS"))
|
||||
|
||||
Reference in New Issue
Block a user