mirror of
https://github.com/NickHu/sway
synced 2024-12-30 22:23:30 +01:00
430359519c
This changes the way zero (which is the default) is interpreted for both the width and height of `floating_maximum_size`. It now refers to the width and height of the entire output layout, which matches i3's behavior. This also removes duplicated code to calculate the floating constraints in three files. Before this, `container_init_floating` used two-thirds of the workspace width/height as the max and the entire workspace width/height was used everywhere else. Now, all callers use a single function `floating_calculate_constraints`. |
||
---|---|---|
.. | ||
cursor.c | ||
input-manager.c | ||
keyboard.c | ||
seat.c | ||
seatop_down.c | ||
seatop_move_floating.c | ||
seatop_move_tiling.c | ||
seatop_resize_floating.c | ||
seatop_resize_tiling.c |