mirror of
https://github.com/swaywm/sway.git
synced 2026-03-16 05:34:10 -04:00
scene_graph: Implement toplevel clipping
This commit is contained in:
parent
09e11dabb2
commit
9da295c11f
5 changed files with 27 additions and 12 deletions
|
|
@ -248,7 +248,7 @@ static void apply_container_state(struct sway_container *container,
|
|||
// the container. This is important for fullscreen views which
|
||||
// refuse to resize to the size of the output.
|
||||
if (view->surface) {
|
||||
view_center_surface(view);
|
||||
view_center_and_clip_surface(view);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue