]> git.mdlowis.com Git - proto/labwc.git/commit
xdg: try to handle missing set_window_geometry with Qt apps
authorJohn Lindgren <john@jlindgren.net>
Sat, 21 Oct 2023 23:49:38 +0000 (19:49 -0400)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Mon, 6 Nov 2023 19:43:22 +0000 (20:43 +0100)
commitd2bcb94bae336c5ce9eb53e87c0cdfe1218d7733
tree1724d3bb15fa8a041c2c363402658c8f03e03000
parent57075ce864ff39ae812c21fe78c8575ee571178d
xdg: try to handle missing set_window_geometry with Qt apps

Qt applications occasionally fail to call set_window_geometry after a
configure request, but do correctly update the actual surface extent.
This results in a mismatch between the window decorations (which follow
the logical geometry) and the visual size of the client area. As a
workaround, try to detect this case and ignore the out-of-date window
geometry.

Fixes: #1194
src/xdg.c