aboutsummaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-11 20:09:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-02-03 17:01:13 +0000
commitaf4ae653493ecfbc570f1a16adc65a8c728dad0c (patch)
tree0415e1a32f21fcf9a152b4a9c9c4af82df01464a /render.h
parentextract: ensure line-based selections are terminated with a newline (diff)
wayland: remove workaround for sway-1.5 bug - slow resizing of hidden windows
In Sway-1.5, sway waits for configure ACKs from hidden windows when views are being resized. I.e. if you have e.g. a stacked view, with one or more windows currently not visible, and you resize the stack, then sway will emit configure events to all windows, and then wait for ACKs before rendering the resized view. The problem with this is that sway also does **not** call frame callbacks on hidden windows. So if we have rendered one frame, and thus registered a frame callback, we’ll never render any more frames until the window becomes visible again. Ergo, if you resize the view interactively, only the first resize actually happens. After that, all hidden views are “stuck”, causing ACK timeouts. We worked around this in foot by preempting the frame callback. I.e. destroying it, and rendering the frame anyway. This has fixed in sway-1.6, and thus we can remove the workaround.
Diffstat (limited to 'render.h')
0 files changed, 0 insertions, 0 deletions