]> git.mdlowis.com Git - proto/labwc.git/commit
cursor: Fix "jumping opposite edges" issue when resizing
authorJohn Lindgren <john@jlindgren.net>
Sun, 3 Apr 2022 01:34:51 +0000 (21:34 -0400)
committerJohan Malm <jgm323@gmail.com>
Mon, 4 Apr 2022 16:28:52 +0000 (17:28 +0100)
commit8e1f11548622297f7810ee153ffd52ff795c3e9d
tree597fb494e9f9f429fc29eb00de87247a439f0642
parent47912aebb6ff9dc197a241c89bcd78b3a9dc2dc9
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.
include/labwc.h
src/cursor.c
src/view.c
src/xdg.c
src/xwayland.c