xserver: Changes to 'server-1.6-enterleave'

Keith Packard keithp at kemper.freedesktop.org
Fri Jan 9 11:46:51 PST 2009


New branch 'server-1.6-enterleave' available with the following commits:
commit c75445754e283dc2a306ef1cf2bbd94b40423640
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Fri Dec 19 21:05:09 2008 +1000

    dix: add a few auxiliary functions for the updated focus model.
    
    SetFocusIn and SetFocusOut, including the static array to keep all focus
    windows.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    (cherry picked from commit 673eb23aac578dcdc04e2a99d1fa5c2987eb58b8)

commit ceeb62f892a1a4df9ef1054d2c9ba12e26d55ef2
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Thu Dec 18 15:55:11 2008 +1000

    dix: reduce FirstPointerChild complexity
    
    Instead of keeping a flag on each window for the devices that are in this
    window, keep a local array that holds the current pointer window for each
    device. Benefit: searching for the first descendant of a pointer is a simple
    run through the array.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    (cherry picked from commit 38b28dcadd0990cb43f50db4300eebb8f044db96)

commit ed90245461f33f1e0eac01c0dea4d0132364f60a
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Thu Dec 18 15:43:18 2008 +1000

    dix: remove now unused "exclude" parameter from FirstPointerChild
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    (cherry picked from commit 72ad4a85cc0ffe60a90011d65ef718d5852beae4)

commit f0025f59e85f48da5e77cd6b759a693d40b2f9ea
Author: Keith Packard <keithp at keithp.com>
Date:   Fri Jan 9 11:20:31 2009 -0800

    dix: re-implement enter/leave model.
    
    The old model was implemented based on a misunderstanding of NotifyVirtual and
    NotifyNonlinearVirtual events. It became complicated and was broken in some
    places [1]. This patch wipes this model completely.
    
    A much simplified implementation is provided instead. Rather than a top-down
    approach ("we have a tree of windows, which ones need to get which event")
    this one uses a step-by-step approach. For each window W between A and B
    determine the pointer window P as perceived by this window and determine the
    event type based on this information. This is in-line with the model described
    by Owen Taylor [2].
    
    [1] http://lists.freedesktop.org/archives/xorg/2008-December/041559.html
    [2] http://lists.freedesktop.org/archives/xorg/2008-August/037606.html
    (cherry picked from commit 0aa4460c3b4f9bb17d5412d76fa8c4c501132429)
    
    Conflicts:
    
    	dix/enterleave.c



More information about the xorg-commit mailing list