From 2f5b3c099965b72f4c14110fb42afc1a9d537029 Mon Sep 17 00:00:00 2001 From: melvinm1 <108258563+melvinm1@users.noreply.github.com> Date: Sun, 16 Mar 2025 00:29:15 +0100 Subject: [PATCH] Fix output repositioning in global fullscreen Call wlr_scene_output_set_position when in global fullscreen to correctly set output positions when repositioning outputs (using swaymsg output or similar). --- sway/desktop/transaction.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c index 50a597a6..52c03b18 100644 --- a/sway/desktop/transaction.c +++ b/sway/desktop/transaction.c @@ -652,6 +652,8 @@ static void arrange_root(struct sway_root *root) { struct sway_output *output = root->outputs->items[i]; struct sway_workspace *ws = output->current.active_workspace; + wlr_scene_output_set_position(output->scene_output, output->lx, output->ly); + if (ws) { arrange_workspace_floating(ws); }