wayland: Stop using gdk_get_program_class

This is an abuse, at best. If we need to pass the
app id down here, lets pass the app id.
This commit is contained in:
Matthias Clasen 2017-11-16 23:18:03 -05:00
parent 95876cbc9c
commit 49f3d86c84

View File

@ -1472,8 +1472,6 @@ gdk_wayland_window_create_xdg_toplevel (GdkWindow *window)
impl->initial_fullscreen_output = NULL;
app_id = g_get_prgname ();
if (app_id == NULL)
app_id = gdk_get_program_class ();
zxdg_toplevel_v6_set_app_id (impl->display_server.xdg_toplevel, app_id);