mirror of
https://github.com/swaywm/sway.git
synced 2026-04-25 06:46:24 -04:00
Fix resizing floating windows at top border
Adding the container_titlebar_height here causes the window height to instantly add the titlebar height to the window when resizing is started.
This commit is contained in:
parent
5e5e5f2ee5
commit
a3cb5f4430
1 changed files with 0 additions and 1 deletions
|
|
@ -76,7 +76,6 @@ static void handle_motion(struct sway_seat *seat, uint32_t time_msec,
|
|||
struct sway_container_state *state = &con->current;
|
||||
width += state->border_thickness * 2;
|
||||
height += config->titlebar_border_thickness * 2;
|
||||
height += container_titlebar_height();
|
||||
height += config->titlebar_v_padding;
|
||||
|
||||
// Recalculate these, in case we hit a min/max limit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue