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)
committerMarco Trevisan (Treviño) <marco@ubuntu.com>
Thu, 19 Jul 2018 13:59:38 +0000 (14:59 +0100)
commit52b2b1c5aac451b5725d99c6e2cdc9c6a3244db4
tree1d415c47a2990c6909e6b34776048ce880275423
parente138356ada0f083d32e89ccbf8f9ece487d9da2f
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