wayland: update enter/leave output after effects
authorOlivier Fourdan <ofourdan@redhat.com>
Wed, 4 Apr 2018 08:15:25 +0000 (10:15 +0200)
committerSimon McVittie <smcv@debian.org>
Sun, 8 Jul 2018 10:32:56 +0000 (11:32 +0100)
commitcc14fa910fc31584a5e0203b9cc378a18786cecb
tree03147318275c06c636a3498ef888fc67160e4c8b
parent52de38b6aecab91894b9be69f41d62dcff039bff
wayland: update enter/leave output after effects

Compositor effects change the actor size and position, which can lead to
inconsistent output enter/leave notifications, leaving clients' surfaces
without any output set.

Update output enter/leave notifications after all compositor effects are
completed so that we give clients accurate output location.

(cherry picked from commit 17a745bf81c24dae9c081e93ae1593e2bb81efd6)

Bug: https://gitlab.gnome.org/GNOME/mutter/issues/104
Origin: upstream, 3.28.3, commit:235c35182b54eb3a86164afa5be13ae8c520d228

Gbp-Pq: Name wayland-update-enter-leave-output-after-effects.patch
src/wayland/meta-wayland-surface.c