aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-11-14 15:11:56 -0500
committerKirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commit5fc85c506687c0b0704e264e50299885e82d5602 (patch)
tree42ca09b116775ac811ed1186bfbcabd1bb81bc8f /sway/desktop
parent7c635b61fe2efd122d131951c26f0c89d25f56cc (diff)
scene_graph: port wlr_forgein_toplevel_management output enter/leave events
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/transaction.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
index 980e839e..acc3e3f9 100644
--- a/sway/desktop/transaction.c
+++ b/sway/desktop/transaction.c
@@ -385,6 +385,10 @@ static void arrange_container(struct sway_container *con,
// make sure it's enabled for viewing
wlr_scene_node_set_enabled(&con->scene_tree->node, true);
+ if (con->output_handler) {
+ wlr_scene_buffer_set_dest_size(con->output_handler, width, height);
+ }
+
if (con->view) {
int border_top = container_titlebar_height();
int border_width = con->current.border_thickness;