]> git.mdlowis.com Git - proto/labwc.git/commit
view: fix bug in view_snap_to_edge()
authorJohan Malm <jgm323@gmail.com>
Fri, 7 Jan 2022 20:53:48 +0000 (20:53 +0000)
committerJohan Malm <jgm323@gmail.com>
Fri, 7 Jan 2022 20:53:48 +0000 (20:53 +0000)
commitbe89478f7acb35880950e4af2b06dbf0876bec77
treea9b3e4bbed20038d6dba9e5481434f658fcd8522
parentcef97235050977a799af8ed8b34cbcb1b611aab7
view: fix bug in view_snap_to_edge()

Use view_move() and view_move_resize() correctly.

view_move_resize() should only be used when the view actually changes
width and/or height, otherwise the serials might cause a delay in moving
xdg-shell clients.

Issue #201
include/labwc.h
src/view.c