aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/output/max_render_time.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-07-15 22:44:10 -0500
committerRonan Pigott <ronan@rjp.ie>2023-08-26 13:44:37 -0700
commitbf44690ee8ce8438ffb1a84fbe6e8dbb6a851c04 (patch)
tree558cb67e819842f5b311b005884738e3ddca69f5 /sway/commands/output/max_render_time.c
parent4a2210577c7c4f84a99ca03386b8910d2f419ab6 (diff)
view: 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. Fixes #5266.
Diffstat (limited to 'sway/commands/output/max_render_time.c')
0 files changed, 0 insertions, 0 deletions