mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
e1fd87728d
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 |
||
---|---|---|
.. | ||
protocol | ||
gdkapplaunchcontext-wayland.c | ||
gdkcursor-wayland.c | ||
gdkdevice-wayland.c | ||
gdkdisplay-wayland.c | ||
gdkdisplay-wayland.h | ||
gdkdnd-wayland.c | ||
gdkeventsource.c | ||
gdkglcontext-wayland.c | ||
gdkglcontext-wayland.h | ||
gdkkeys-wayland.c | ||
gdkprivate-wayland.h | ||
gdkscreen-wayland.c | ||
gdkselection-wayland.c | ||
gdkwayland.h | ||
gdkwaylanddevice.h | ||
gdkwaylanddisplay.h | ||
gdkwaylandglcontext.h | ||
gdkwaylandselection.h | ||
gdkwaylandwindow.h | ||
gdkwindow-wayland.c | ||
Makefile.am | ||
wm-button-layout-translation.c | ||
wm-button-layout-translation.h |