From 5fc85c506687c0b0704e264e50299885e82d5602 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Tue, 14 Nov 2023 15:11:56 -0500 Subject: scene_graph: port wlr_forgein_toplevel_management output enter/leave events --- sway/desktop/transaction.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sway/desktop') 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; -- cgit v1.2.3