gtk/gdk/wayland
Jonas Ådahl 71256a0f94 wayland: Set a more correct xdg_surface application id
The "app_id" of a xdg_surface should be the ID that can potentially be
used to get the DBUS name or the .desktop file.

For GtkApplication programs this is often the ID passed when creating the
GtkApplication object, so when available lets use that.

As fallbacks, first try g_get_prgname as it often corresponds to the
basename part of the .dektop file for non-GtkApplication programs.
Otherwise use gdk_get_program_class, even though that string usually
doesn't conform to the expectations of xdg_surface.set_application_id.

https://bugzilla.gnome.org/show_bug.cgi?id=746435
2015-03-31 12:37:50 +08:00
..
protocol wayland: Only bind to supported gtk-shell versions 2015-03-11 11:37:37 +08:00
gdkapplaunchcontext-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkcursor-wayland.c wayland: Support scaling of theme based cursors 2015-03-16 19:53:37 +08:00
gdkdevice-wayland.c wayland: Support scaling of theme based cursors 2015-03-16 19:53:37 +08:00
gdkdisplay-wayland.c wayland: Move gtk-shell compatibility version define too 2015-03-16 13:58:14 -04:00
gdkdisplay-wayland.h wayland: Support scaling of theme based cursors 2015-03-16 19:53:37 +08:00
gdkdnd-wayland.c wayland: Use display from GdkDragContext device 2015-02-17 19:50:05 +01: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 wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkprivate-wayland.h wayland: Move gtk-shell compatibility version define too 2015-03-16 13:58:14 -04:00
gdkscreen-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkselection-wayland.c wayland: Silence warnings on clipboard data sending cancellation 2015-03-19 16:05:04 +01: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: Set a more correct xdg_surface application id 2015-03-31 12:37:50 +08:00
Makefile.am wayland: Add OpenGL support 2014-10-13 10:43:31 -04: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