Merge branch 'mcatanzaro/fix-xdg-activation' into 'gtk-3-24'
wayland: Don't crash without xdg_activation_v1 See merge request GNOME/gtk!5743
This commit is contained in:
commit
b497382659
@ -4179,7 +4179,7 @@ gdk_wayland_window_set_startup_id (GdkWindow *window,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_XDG_ACTIVATION
|
#ifdef HAVE_XDG_ACTIVATION
|
||||||
if (startup_id)
|
if (display_wayland->xdg_activation && startup_id)
|
||||||
{
|
{
|
||||||
xdg_activation_v1_activate (display_wayland->xdg_activation,
|
xdg_activation_v1_activate (display_wayland->xdg_activation,
|
||||||
startup_id,
|
startup_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user