Merge branch 'cherry-pick-3a5282ab' into 'gtk-4-10'
wayland: Don't crash without xdg_activation_v1 See merge request GNOME/gtk!5742
This commit is contained in:
@@ -991,7 +991,7 @@ gdk_wayland_toplevel_set_startup_id (GdkWaylandToplevel *toplevel,
|
||||
startup_id = free_me;
|
||||
}
|
||||
|
||||
if (startup_id)
|
||||
if (display->xdg_activation && startup_id)
|
||||
xdg_activation_v1_activate (display->xdg_activation,
|
||||
startup_id,
|
||||
surface->display_server.wl_surface);
|
||||
|
||||
Reference in New Issue
Block a user