gtk/gdk/wayland
Jonas Ådahl e1fd87728d wayland: Use g_get_prgname() to get the xdg_surface.set_app_id string
Prior to this patch, the ID of the GtkApplication was always used for
clients which were GtkApplications. This would only be guaranteed to be
correct for D-Bus activatable programs. As a result, all
non-D-Bus-activatable applications would set the wrong ID making the
shell unable to find the corresponding .desktop file.

This change makes it so that the GDK backend always uses the name
passed to g_set_prgname, or the default value if not explicitly set, as
this more often corresponds to the .desktop file.

This means that in order to make D-Bus activatable applications set the
correct application ID, they must, for now, manually call
g_set_prgname() with their application ID (basename of the .desktop
file).

If g_get_prgname() returns NULL, fallback to gdk_get_program_class()
even though it will most likely never be correct according to the
xdg_surface.set_app_id specification.

https://bugzilla.gnome.org/show_bug.cgi?id=746435
2015-08-18 08:45:12 +08:00
..
protocol wayland: Add touchpad gestures protocol 2015-08-12 23:20:25 +02:00
gdkapplaunchcontext-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkcursor-wayland.c wayland: Always apply scaling factor to cursor hotspot and dimension 2015-07-20 17:36:38 +08:00
gdkdevice-wayland.c wayland: Implement touchpad gesture events 2015-08-12 23:20:25 +02:00
gdkdisplay-wayland.c Revert "wayland: require WAYLAND_DISPLAY be set to open wayland display" 2015-08-14 11:24:44 -04:00
gdkdisplay-wayland.h wayland: Implement touchpad gesture events 2015-08-12 23:20:25 +02:00
gdkdnd-wayland.c wayland: Don't assume drag context has a source window when finalizing 2015-08-05 10:31:55 +08:00
gdkeventsource.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkglcontext-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkglcontext-wayland.h gl: Drop profile for gdk_window_create_gl_context() 2015-02-12 12:34:28 +00:00
gdkkeys-wayland.c gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkprivate-wayland.h Added api to set a window to fullscreen on a given monitor. 2015-07-25 07:08:59 -06:00
gdkscreen-wayland.c wayland: calculate screen physical size 2015-08-15 22:11:10 -04:00
gdkselection-wayland.c wayland: Return the right type atom on gdk_selection_property_get() 2015-06-29 18:39:33 +02:00
gdkwayland.h wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkwaylanddevice.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkwaylanddisplay.h wayland: fix rename of wl_shell to xdg_shell 2014-01-20 14:37:33 -05:00
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandselection.h wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkwaylandwindow.h wayland: Replace wl_shell_surface with xdg_shell 2013-11-18 13:44:20 -05:00
gdkwindow-wayland.c wayland: Use g_get_prgname() to get the xdg_surface.set_app_id string 2015-08-18 08:45:12 +08:00
Makefile.am wayland: Add touchpad gestures protocol 2015-08-12 23:20:25 +02:00
wm-button-layout-translation.c wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00
wm-button-layout-translation.h wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00