More fullscreen fixes.

* Render fullscreen views without wlr function, which makes popups and
lockscreen work.
* Don't allow input events to surfaces behind fullscreen views.
* Use correct output dimensions (for rotated outputs).
This commit is contained in:
Ryan Dwyer 2018-04-18 08:35:28 +10:00
parent 72beae209b
commit 35ccdd67a8
3 changed files with 15 additions and 7 deletions

View file

@ -598,10 +598,8 @@ void arrange_windows(struct sway_container *container,
if (container->type == C_WORKSPACE
&& container->sway_workspace->fullscreen) {
struct wlr_output *wlr_output
= container->parent->sway_output->wlr_output;
view_configure(container->sway_workspace->fullscreen, 0, 0,
wlr_output->width, wlr_output->height);
container->parent->width, container->parent->height);
}
double x = 0, y = 0;