mirror of
https://github.com/swaywm/sway.git
synced 2025-01-30 20:56:43 +00:00
b072958b49
IPC clients generally expect executed commands to have taken effect when
the command completes, while delayed modeset means that it can take
several milliseconds more before e.g. an output is enabled.
However, modesetting on every output command in the IPC call could on
systems with already slow modesetting behavior lead to an unresponsive
system for a not insignificant period of time.
To strike a balance, force modeset once all the commands of this IPC
call have executed if a modeset is pending.
(cherry picked from commit
|
||
---|---|---|
.. | ||
sway | ||
swaybar | ||
swaynag | ||
cairo_util.h | ||
gesture.h | ||
ipc-client.h | ||
ipc.h | ||
list.h | ||
log.h | ||
loop.h | ||
meson.build | ||
pango.h | ||
pool-buffer.h | ||
stringop.h | ||
util.h |