gdk/wayland: Perform xdg_activation on gdk_toplevel_set_startup_id
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 3 Jan 2023 12:44:44 +0000 (13:44 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 3 Jan 2023 13:57:49 +0000 (14:57 +0100)
commit5aeabdb3d404579b5cab4fff1642ed116f745a8b
tree772655486612598a79bef87035f4ecf1a24f7101
parent6f01f846dc66a6359a1524ace13377536821dbb0
gdk/wayland: Perform xdg_activation on gdk_toplevel_set_startup_id

This call has everything to perform activation as specified by the
xdg_activation protocol, notably a surface to activate as opposed to
gdk_display_notify_startup_complete().

Make activation happen here, so that the surface gets activated when
its gets a startup ID assigned.
gdk/wayland/gdksurface-wayland.c