Commit graph

8 commits

Author SHA1 Message Date
Demi Marie Obenour
6b1012c29c 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>
2023-06-01 11:34:37 -04:00
Olivier Fourdan
b6bc35b845 xfixes: Add ClientDisconnectMode
The Xserver itself is capable of terminating itself once all X11 clients
are gone, yet in a typical full session, there are a number of X11
clients running continuously (e.g. the Xsettings daemon, IBus, etc.).

Those always-running clients will prevent the Xserver from terminating,
because the actual number of X11 clients will never drop to 0.

To solve this issue directly at the Xserver level, this add new entries
to the XFixes extension to let the X11 clients themselves specify the
disconnect mode they expect.

Typically, those X11 daemon clients would specify the disconnect mode
XFixesClientDisconnectFlagTerminate to let the Xserver know that they
should not be accounted for when checking the remaining clients prior
to terminate.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
2021-04-29 05:48:29 +00:00
orbea
daffc5b462 pkgconfig: Drop exec_prefix from the .pc.in files.
This is not used by xorg-devel which contains only headers.
2020-08-24 15:01:44 +00:00
Jeremy Puhlman
91c1c8e149 Remove libdir from pc files.
Currently the pc files define libdir, however they are installed into
/usr/share, which means they should be architecture agnostic. In a
multilib system, xorg-proto built for each multilib abi, the value of
libdir is going to be different. These should either be installed in
<libdir>/pkgconfig or they shouldn't define libdir, espeically since
they don't actually use the definition. This specifically causes an
issue when trying to install both abis at the same time, since they are
not binary identical, something like rpm will complain that they
conflict.

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2018-06-13 11:40:13 -04:00
Adam Jackson
7519914301 Fix .pc module versions
Just stuff the versions in the .pc file directly, @PACKAGE_VERSION@ is
the version set in configure.ac which is now different.

Signed-off-by: Adam Jackson <ajax@redhat.com>
2018-01-16 11:13:00 -05:00
Julien Cristau
c7c9beab9a fixesproto: adjust to split xext headers
Protocol constants for shape were moved to shapeconst.h.

Acked-By: Adam Jackson <ajax@redhat.com>
2009-07-16 22:34:00 +01:00
Keith Packard
43de9d4e70 Import changes from Xorg repository 2006-02-24 02:23:27 +01:00
Keith Packard
ce5d322367 rename fixesext.pc.in to fixesproto.pc.in as per xorg 2006-02-24 02:19:49 +01:00
Renamed from fixesext.pc.in (Browse further)