scene_graph: port wlr_forgein_toplevel_management output enter/leave events

This commit is contained in:
Alexander Orzechowski 2023-11-14 15:11:56 -05:00 committed by Kirill Primak
parent 7c635b61fe
commit 5fc85c5066
3 changed files with 55 additions and 0 deletions

View file

@ -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;