aboutsummaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2023-08-28 10:49:24 -0500
committerFurkan Sahin <furkan-dev@proton.me>2023-08-28 10:49:24 -0500
commit9974e5cb92f963b4f47fb04adde79a79b5e12b50 (patch)
tree3e100a27121e7f4c76a6badc90b725d067d33470 /protocols
parent8581a684a6860d9f4a58c15494b16a5570cec4e7 (diff)
xdg_shell: update wlr_toplevel size on client resizes
If a floating client resizes itself, sway updates several of its internal dimensions to match but not wlr_toplevel. This means that the next time wlroots sends a toplevel configure event, it can have wrong coordinates that resize the client back to its old size. To fix this, let's just use wlr_xdg_toplevel_set_size so the wlr_toplevel has the same dimensions as sway. Exactly the same as 0183b9d35d0ce750588e700e536b7d2e367b0d0a but the logic is onlly applied to xdg_shell and not xwayland.
Diffstat (limited to 'protocols')
0 files changed, 0 insertions, 0 deletions