clients/resizor: Use pointer locking for resizing window
authorJonas Ådahl <jadahl@gmail.com>
Wed, 26 Nov 2014 09:40:42 +0000 (17:40 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Tue, 26 Jul 2016 09:21:15 +0000 (17:21 +0800)
commit9f8c8942ba07b764a58ccbf7941dee909228514d
tree872b0501249260e0d77b4bc1377b0fa0d99afee8
parente5a1bb4be289ab7fc93b6a5771f06332efe0c6c7
clients/resizor: Use pointer locking for resizing window

Resizes the window using pointer locking when holding the left pointer
button down. The pointer lock cursor position hint is used to warp the
pointer to the same position relative to the bottom right corner.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
clients/resizor.c