gtk/gdk/x11
Ryan Lortie a00a5ed210 GtkApplication: avoid using stale timestamps
Avoid using a stale timestamp (from the last user interaction with the
application) when a message arrives from D-Bus requesting that a new
window be created.

In this case the most-correct thing that we can do is to use no
timestamp at all.

We modify gdk_x11_display_set_startup_notification_id() to allow a NULL
value to mean "reset everything" and then call this function
unconditionally on receipt of D-Bus activation requests.  The result
will be that a missing desktop-startup-id in the platform-data struct
will reset the timestamp.

Under their default configuration metacity and mutter will both map
windows presented with no timestamp in the foreground.  This could
result in false-positive, but there is very little we can do about that
without the original timestamp from the user event.

https://bugzilla.gnome.org/show_bug.cgi?id=752000
2015-07-14 18:34:09 -07:00
..
gdkapplaunchcontext-x11.c
gdkasync.c x11: Fix compiler warnings 2015-06-02 09:08:14 -04:00
gdkasync.h
gdkcursor-x11.c X11: Make css cursor names work 2015-05-08 13:34:25 -04:00
gdkdevice-core-x11.c x11: Fix compiler warnings 2015-06-02 09:08:14 -04:00
gdkdevice-xi2.c x11: Query pointer devices' scroll valuators on toplevel enter events 2015-07-01 19:40:09 +02:00
gdkdevicemanager-core-x11.c
gdkdevicemanager-x11.c
gdkdevicemanager-xi2.c x11: Query pointer devices' scroll valuators on toplevel enter events 2015-07-01 19:40:09 +02:00
gdkdevicemanagerprivate-core.h
gdkdisplay-x11.c GtkApplication: avoid using stale timestamps 2015-07-14 18:34:09 -07:00
gdkdisplay-x11.h gtk3: add randr 1.5 monitor support 2015-05-21 23:09:04 -04:00
gdkdisplaymanager-x11.c
gdkdnd-x11.c x11: Fix possible leak of GdkEvents 2014-08-22 13:24:48 +02:00
gdkeventsource.c
gdkeventsource.h Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkeventtranslator.c
gdkeventtranslator.h
gdkgeometry-x11.c x11: Fix compiler warnings 2015-06-02 09:08:14 -04:00
gdkglcontext-x11.c x11/gl: Fix use after free 2015-04-05 07:41:03 -04:00
gdkglcontext-x11.h Remove GdkGLProfile 2015-02-12 17:51:31 +00:00
gdkkeys-x11.c x11: Fix compiler warnings 2015-06-02 09:08:14 -04:00
gdkmain-x11.c X11: Don't assume all displays are X11 displays 2014-10-24 19:05:09 -04:00
gdkprivate-x11.h x11: Query pointer devices' scroll valuators on toplevel enter events 2015-07-01 19:40:09 +02:00
gdkproperty-x11.c Remove unused variables 2015-06-13 21:10:26 -04:00
gdkscreen-x11.c gdk: Fix a typo 2015-05-22 14:39:53 +02:00
gdkscreen-x11.h X11: Pick better system and rgba visuals for GL 2014-10-29 13:35:17 +01:00
gdkselection-x11.c
gdksettings.c Add an XSetting for the session bus ID 2014-12-18 23:26:11 -05:00
gdktestutils-x11.c
gdkvisual-x11.c x11: Fix compiler warnings 2015-06-02 09:08:14 -04:00
gdkwindow-x11.c x11: Relax requirements for setting ParentRelative 2015-04-13 08:26:15 -04:00
gdkwindow-x11.h x11: Keep track of the exact size in X pixels of windows 2014-11-20 12:38:04 +01:00
gdkx11applaunchcontext.h
gdkx11cursor.h
gdkx11device-core.h
gdkx11device-xi2.h
gdkx11device.h
gdkx11devicemanager-core.h
gdkx11devicemanager-xi2.h
gdkx11devicemanager-xi.h
gdkx11devicemanager.h
gdkx11display.h
gdkx11displaymanager.h
gdkx11dnd.h
gdkx11glcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkx11keys.h
gdkx11property.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkx11screen.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkx11selection.h
gdkx11utils.h Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdkx11visual.h
gdkx11window.h
gdkx-autocleanups.h gdk: Add support for g_autoptr() 2015-02-02 09:28:22 +01:00
gdkx.h gdk: Add support for g_autoptr() 2015-02-02 09:28:22 +01:00
gdkxftdefaults.c Simplify Xft setting fallback 2015-07-07 20:54:16 -04:00
gdkxid.c
Makefile.am gtkx: add missing header 2015-02-02 13:47:06 +01:00
MwmUtil.h
xsettings-client.c Handle resolution changes in the GDK backend code 2014-07-13 15:35:23 -04:00
xsettings-client.h