Skip to content

unset fullscreen when surface is brought to front

Simon Ser requested to merge github/fork/Ongy/roots_unfullscreen into master

Created by: Ongy

The output fullscreen surfaces are drawn in front of everything, without consideration for view z-order. If a view is brought to front, unset any fullscreen view that would cover this view to make sure the view is visible.

Testplan: Fullscreen a view, then [Alt]+[Tab] to a surface that intersects the relevant output.

Fixes https://github.com/swaywm/wlroots/issues/676 wl_shell mpv misbehaves in two ways.

  • It doesn't notice it gets unfullscreened (from a quick check a protocol issue)
  • It is placed at the wrong coordinates.

Merge request reports