xserver/Xext/xfixes
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Enrico Weigelt, metux IT consult 0003a7180c xfixes: implement 6.1: forced server shutdown on client disconnect
XFixes 6.1 adds a new feature where individual client can demand immediate
server shutdown when it disconnects: the client can set a special flag via
X_XFixesGetClientDisconnectMode request - when it's set and that client
terminates, the server stops event delivery and shuts down immediately.

It's is mainly a security feature for screen lockers: without it, crashing
screen locker leading to the whole session becoming unlocked. This is now
prevented by immediately killing the xserver, so no unauthorized access
to the session is possible anymore.

Another practical use case is when some critical applications must be present
(eg. in certain control centers), and a crash of those should trigger to
immediate fault state or session restart.

For now, the feature can only be enabled explicitly in the xfree86 DDX,
via the AllowForceTerminate boolean config file option. Not enabled at all
on other DDX'es yet.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-09-29 12:23:40 +02:00
..
cursor.c xext: xfixes: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:27:15 +02:00
disconnect.c xfixes: implement 6.1: forced server shutdown on client disconnect 2026-09-29 12:23:40 +02:00
meson.build xfixes: move it under the Xext/ directory 2026-06-17 15:33:32 +02:00
region.c xext: xfixes: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:27:15 +02:00
saveset.c xfixes: saveset: declare variables where needed 2026-06-24 16:58:42 +02:00
select.c xfixes: select: declare variables where needed 2026-06-24 16:58:31 +02:00
xfixes.c treewide: replace min/max macros by non-exported MIN/MAX and deprecate them 2026-06-25 14:06:17 +02:00
xfixes.h xfixes: parentheses around macro argument symbols 2026-06-25 07:10:46 +02:00
xfixes_priv.h xfixes: implement 6.1: forced server shutdown on client disconnect 2026-09-29 12:23:40 +02:00
xfixesint.h treewide: clean up includes of misc.h 2026-06-19 19:24:57 +02:00