mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Fix use-after-free with block hotspots
This commit is contained in:
parent
0cbd2a4f49
commit
c507727ad2
4 changed files with 14 additions and 8 deletions
|
|
@ -248,8 +248,8 @@ void arrange_windows(struct sway_container *container,
|
|||
struct wlr_box *area = &output->sway_output->usable_area;
|
||||
wlr_log(L_DEBUG, "Usable area for ws: %dx%d@%d,%d",
|
||||
area->width, area->height, area->x, area->y);
|
||||
container->width = area->width;
|
||||
container->height = area->height;
|
||||
container->width = width = area->width;
|
||||
container->height = height = area->height;
|
||||
container->x = x = area->x;
|
||||
container->y = y = area->y;
|
||||
wlr_log(L_DEBUG, "Arranging workspace '%s' at %f, %f",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue