[PATCH 0/3] dix/window.c cleanups and death to server regen

Keith Packard keithp at keithp.com
Sun Nov 20 09:53:21 PST 2011


On Sun, 20 Nov 2011 03:48:51 -0800, Jamey Sharp <jamey at minilop.net> wrote:

> I'm tired of dealing with server regen. Here's a patch to kill it while
> still meeting the requirements in the X protocol specification; and two
> straightforward cleanup patches that I think are worth applying even if
> the reset-rework patch is NAKed.

I like this plan. For those interested in helping review, please read
this section of the X protocol very closely:

 A server goes through a cycle of having no connections and having some
 connections. At every transition to the state of having no connections
 as a result of a connection closing with a Destroy close-down mode, the
 server resets its state as if it had just been started. This starts by
 destroying all lingering resources from clients that have terminated in
 RetainPermanent or RetainTemporary mode. It additionally includes
 deleting all but the predefined atom identifiers, deleting all
 properties on all root windows, resetting all device maps and
 attributes (key click, bell volume, acceleration), resetting the access
 control list, restoring the standard root tiles and cursors, restoring
 the default font path, and restoring the input focus to state
 PointerRoot.

 Note that closing a connection with a close-down mode of
 RetainPermanent or RetainTemporary will not cause the server to reset.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111120/bfdec6c9/attachment.pgp>


More information about the xorg-devel mailing list