diff options
author | Demi Marie Obenour <demi@invisiblethingslab.com> | 2021-07-20 15:55:26 -0400 |
---|---|---|
committer | Demi Marie Obenour <demiobenour@gmail.com> | 2023-06-01 11:34:37 -0400 |
commit | 6b1012c29c2eee95c6ea2ef63b0e5dc628a6cb7f (patch) | |
tree | 59c2ffd63b873bb51aba3e613bca7cc3c16b4365 /include | |
parent | 5a3d5d624e08cd8fcbe7f4da594dd458f45127d0 (diff) |
Allow client to force server to terminate if it exits
This is intended to be used by screen lockers, where the server must
exit if the screen locker does, to avoid a security hole. As suggested
by Alan Coopersmith, this is implemented using a new flag for the
disconnect mode of the XFixes extension. Includes wording suggestions
from Peter Hutterer.
Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/X11/extensions/xfixeswire.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/X11/extensions/xfixeswire.h b/include/X11/extensions/xfixeswire.h index 88b43e7..83251cf 100644 --- a/include/X11/extensions/xfixeswire.h +++ b/include/X11/extensions/xfixeswire.h @@ -146,4 +146,9 @@ /* The server may disconnect this client to shut down */ #define XFixesClientDisconnectFlagTerminate (1L << 0) +/*************** Version 6.1 ******************/ + +/* The server must terminate if this client exits */ +#define XFixesClientDisconnectFlagForceTerminate (1L << 1) + #endif /* _XFIXESWIRE_H_ */ |