mirror of
https://github.com/labwc/labwc.git
synced 2025-11-11 13:30:04 -05:00
cursor: Fix "jumping opposite edges" issue when resizing
Commit 08c537e ("xwayland: Honor size increments from
WM_SIZE_HINTS") adjusted only the window width/height according
to the size hints. If resizing from the top or left edge of the
window, we also need to adjust the window position to keep the
bottom or right edge from jumping around.
This commit is contained in:
parent
47912aebb6
commit
8e1f115486
5 changed files with 59 additions and 78 deletions
|
|
@ -408,7 +408,7 @@ void view_update_title(struct view *view);
|
|||
void view_update_app_id(struct view *view);
|
||||
|
||||
void view_impl_map(struct view *view);
|
||||
void view_min_size(struct view *view, int *w, int *h);
|
||||
void view_adjust_size(struct view *view, int *w, int *h);
|
||||
|
||||
void foreign_toplevel_handle_create(struct view *view);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue