gtk-shell: Work around non-working startup notifications
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Oct 2016 16:00:04 +0000 (18:00 +0200)
committerJeremy Bicha <jbicha@debian.org>
Tue, 9 Oct 2018 00:24:51 +0000 (01:24 +0100)
commit773bba8cf58d6e9bb0c70af19957d4d7979d8cf4
treec58e0fbe64f773ffb8d784ab6a996488546e1294
parent6e81a2f60c9d87c54caa62d07aae2b59d8d2e100
gtk-shell: Work around non-working startup notifications

GNOME Shell relies on the MetaScreen::startup-sequence-changed signal,
which is tied to (lib)startup-notification and therefore X11. As a result,
when we remove the startup sequence of a wayland client, GNOME Shell will
not be notified about this until startup-notification's timeout is hit.
As a temporary stop-gap, go through XWayland even for wayland clients,
so that the signal is emitted when expected.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=768531
Applied-upstream: no

Gbp-Pq: Name bgo768531_workaround-startup-notifications.patch
src/wayland/meta-wayland-gtk-shell.c