gtk2/gdk/x11
Allison Ryan Lortie 0d109867d2 Tweak startup-notification after the first window
Presently, Gtk will only send a startup notification completion message
for the first window that is shown.  This is not good for the case of
GtkApplication, where we are expected to participate in
startup-notification for all windows.

We have avoided this problem by manually emitting the startup complete
message from after_emit in GtkApplication.

Unfortunately, this causes problems for windows that are shown with a
delay.  It is also a dirty hack.

The reason for the original behaviour is simple: there is a static
boolean in gtkwindow.c which controls it.  We remove this.

Instead, clear the startup notification ID stored in GDK when sending
the completion message.  GtkApplication will re-set this the next time
an event comes in which needs startup-notification handling.  In the
non-GtkApplication case, newly shown windows will still not send the
message, since the cookie will have been cleared.

Finally, we remove the hack from GtkApplication's after_emit.

This will probably cause some regressions in terms of lingering startup
notification messages.  The correct solution here is to always use
gtk_window_present(), including when merely opening a new document (with
a new tab, for example).

https://bugzilla.gnome.org/show_bug.cgi?id=690791
2016-01-27 18:14:40 +01:00
..
gdkapplaunchcontext-x11.c GdkAppLaunchContext: Use the display name for X11 2015-10-13 08:39:05 +02:00
gdkasync.c x11: Fix compiler warnings 2015-06-02 09:08:14 -04:00
gdkasync.h
gdkcursor-x11.c x11: Ensure we have a dnd-ask cursor 2016-01-08 18:11:07 -05:00
gdkdevice-core-x11.c gdk: Deprecate gdk_display_get_screen 2015-10-27 14:17:52 +13:00
gdkdevice-xi2.c x11: Add some ignore deprecation statements 2015-12-16 19:47:06 +01:00
gdkdevicemanager-core-x11.c x11: create GdkSeat also in GdkX11DeviceManagerCore 2015-12-21 20:58:28 +01:00
gdkdevicemanager-x11.c
gdkdevicemanager-xi2.c x11: Set event->scroll.is_stop 2016-01-18 21:36:23 +01:00
gdkdevicemanagerprivate-core.h
gdkdisplay-x11.c Tweak startup-notification after the first window 2016-01-27 18:14:40 +01:00
gdkdisplay-x11.h x11: Make selection handling work across screens 2015-07-27 23:20:53 -04:00
gdkdisplaymanager-x11.c
gdkdnd-x11.c Use actual drop status 2016-01-19 14:17:36 +01: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 Control legacy GL context via environment variable 2015-10-07 16:21:57 +01: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: Add some ignore deprecation statements 2015-12-16 19:47:06 +01:00
gdkprivate-x11.h gdk: Allow passing the start coordinates in drag_begin 2015-12-13 10:39:43 -05:00
gdkproperty-x11.c Remove unused variables 2015-06-13 21:10:26 -04:00
gdkscreen-x11.c settings: Avoid a redundant check 2015-09-09 06:32:45 -04: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 primary button warps slider 2016-01-26 19:21:10 +01:00
gdktestutils-x11.c
gdkvisual-x11.c x11: Fix compiler warnings 2015-06-02 09:08:14 -04:00
gdkwindow-x11.c Avoid an X error 2016-01-08 13:50:46 -05:00
gdkwindow-x11.h x11: Fix damage tracking hack 2016-01-08 13:44:36 -05: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
gdkx11screen.h
gdkx11selection.h
gdkx11utils.h
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
xsettings-client.h