mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Fixed a bug with move-resize, removed xdg-shell ack_configure event
Fixed move-resizing a view when only one coordinate changes.
This commit is contained in:
parent
e2843d87c8
commit
a3a8b7bfd8
6 changed files with 31 additions and 18 deletions
|
|
@ -98,13 +98,7 @@ static void roots_cursor_update_position(struct roots_cursor *cursor, uint32_t t
|
|||
height = 0;
|
||||
}
|
||||
|
||||
if (active_x != seat->focus->x ||
|
||||
active_y != seat->focus->y) {
|
||||
view_move_resize(seat->focus, active_x, active_y,
|
||||
width, height);
|
||||
} else {
|
||||
view_resize(seat->focus, width, height);
|
||||
}
|
||||
view_move_resize(seat->focus, active_x, active_y, width, height);
|
||||
}
|
||||
break;
|
||||
case ROOTS_CURSOR_ROTATE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue