]> git.mdlowis.com Git - proto/labwc.git/commit
xwayland.c: fix position bug
authorJohan Malm <jgm323@gmail.com>
Mon, 4 Jul 2022 17:25:52 +0000 (18:25 +0100)
committerJohan Malm <jgm323@gmail.com>
Mon, 4 Jul 2022 17:25:52 +0000 (18:25 +0100)
commitbfff9d02c717ad1a9b3693a843dd267774cdc7e9
tree002b050196a899280bc3ba9c80a52ff4466b614c
parent9b49f19a7315d2a6735a49156f6e71a9aff08f96
xwayland.c: fix position bug

Set node position in the configure/set_geometry handlers when moving a
window in response to a client request.

Steps to reproduce weird positioning fixed by this patch:

1. Start leafpad
2. Open Help->About
3. Move the dialog
4. Close the dialog
5. Open it again
6. Drag it and observe a jump in position

There is also an xwayland PyQt5 script in PR #428 which demonstrates
jumpy position.
src/xwayland-unmanaged.c
src/xwayland.c