diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2014-01-30 14:01:10 +0100 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-04-29 16:33:56 -0700 |
commit | 9e7c7598aa44a9caaa5ebd525426623e8e86880e (patch) | |
tree | 5271fac90b4aeeb9b2c2d9c27c6d187679c3b01e /desktop-shell/shell.h | |
parent | ae356aef58866f32fbb5d127fce77ce31808fe86 (diff) | |
download | weston-9e7c7598aa44a9caaa5ebd525426623e8e86880e.tar.gz |
desktop-shell: Properly handle lowered fullscreen surfaces
lower_fullscreen_surface() was removing fullscreen surfaces from
the fullscreen layer and inserting them in the normal workspace
layer. However, those fullscreen surfaces were never put back in
the fullscreen layer, causing bugs such as unrelated surfaces
being drawn between a fullscreen surface and its black view.
Change the lower_fullscreen_surface() logic so that it lowers
fullscreen surfaces to the workspace layer *and* hides the
black views. Make this reversible by re-configuring the lowered
fullscreen surface: when it is re-configured, the black view
will be shown again and the surface will be restacked in the
fullscreen layer.
https://bugs.freedesktop.org/show_bug.cgi?id=73575
https://bugs.freedesktop.org/show_bug.cgi?id=74221
https://bugs.freedesktop.org/show_bug.cgi?id=74222
Diffstat (limited to 'desktop-shell/shell.h')
-rw-r--r-- | desktop-shell/shell.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/desktop-shell/shell.h b/desktop-shell/shell.h index 4ed11d54..09f8b79f 100644 --- a/desktop-shell/shell.h +++ b/desktop-shell/shell.h @@ -206,9 +206,6 @@ struct desktop_shell { char *client; }; -void -set_alpha_if_fullscreen(struct shell_surface *shsurf); - struct weston_output * get_default_output(struct weston_compositor *compositor); @@ -226,7 +223,7 @@ lower_fullscreen_layer(struct desktop_shell *shell); void activate(struct desktop_shell *shell, struct weston_surface *es, - struct weston_seat *seat); + struct weston_seat *seat, bool configure); void exposay_binding(struct weston_seat *seat, |