aboutsummaryrefslogtreecommitdiff
path: root/include/cairo_util.h
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-11-17 12:38:32 +0100
committerSimon Ser <contact@emersion.fr>2024-11-17 19:11:58 +0100
commita2c73c9b8b426417e0253ea0420b98298af1c963 (patch)
tree0987a5276b432f80f39b3713f65459fa7ba9dcf6 /include/cairo_util.h
parent6111297d91faf5f2820acaa14d76d6389b469b77 (diff)
ipc-server: Force modeset if needed after executing commands
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.
Diffstat (limited to 'include/cairo_util.h')
0 files changed, 0 insertions, 0 deletions