mirror of
https://github.com/swaywm/sway.git
synced 2026-04-09 08:21:26 -04:00
scene_graph: port wlr_forgein_toplevel_management output enter/leave events
This commit is contained in:
parent
7c635b61fe
commit
5fc85c5066
3 changed files with 55 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue