summaryrefslogtreecommitdiffstats
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-04-18 08:35:28 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-04-18 08:35:28 +1000
commit35ccdd67a89280c1d906ed914d67918cfb382e1f (patch)
tree6800043b2527e9f9baf9dba0f811d6a97a5e2ea3 /sway/tree/layout.c
parentFullscreen fixes. (diff)
downloadsway-35ccdd67a89280c1d906ed914d67918cfb382e1f.tar.gz
sway-35ccdd67a89280c1d906ed914d67918cfb382e1f.tar.zst
sway-35ccdd67a89280c1d906ed914d67918cfb382e1f.zip
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).
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index d931c4dc..56d4e1d2 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -598,10 +598,8 @@ void arrange_windows(struct sway_container *container,
598 598
599 if (container->type == C_WORKSPACE 599 if (container->type == C_WORKSPACE
600 && container->sway_workspace->fullscreen) { 600 && container->sway_workspace->fullscreen) {
601 struct wlr_output *wlr_output
602 = container->parent->sway_output->wlr_output;
603 view_configure(container->sway_workspace->fullscreen, 0, 0, 601 view_configure(container->sway_workspace->fullscreen, 0, 0,
604 wlr_output->width, wlr_output->height); 602 container->parent->width, container->parent->height);
605 } 603 }
606 604
607 double x = 0, y = 0; 605 double x = 0, y = 0;