mirror of
https://github.com/labwc/labwc.git
synced 2026-04-09 08:21:18 -04:00
Improve expandibility
This commit is contained in:
parent
05d94f347e
commit
2be8742e5c
7 changed files with 67 additions and 57 deletions
|
|
@ -79,7 +79,10 @@ process_cursor_move(struct server *server, uint32_t time)
|
|||
struct view *view = server->grabbed_view;
|
||||
|
||||
/* Move the grabbed view to the new position. */
|
||||
view_move(view, server->grab_box.x + dx, server->grab_box.y + dy);
|
||||
dx += server->grab_box.x;
|
||||
dy += server->grab_box.y;
|
||||
move_resistance(view, &dx, &dy, true);
|
||||
view_move(view, dx, dy);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue