diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2025-03-16 00:29:15 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2025-03-16 00:29:15 +0100 |
| commit | bcf7d32c119f6cd92ac7e6f385fd27c4dc660b0c (patch) | |
| tree | ed5402b0386579552c7881b2dc7daec4622c2c14 | |
| parent | 19b19c1b17de7ffb1294fcf69b0d02ce991bb93b (diff) | |
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).
| -rw-r--r-- | sway/desktop/transaction.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |
