diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2008-12-18 15:55:11 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-01-08 11:45:22 +1000 |
commit | 38b28dcadd0990cb43f50db4300eebb8f044db96 (patch) | |
tree | 36ad91cfc224b2d4ffdc4c682a9987b584f3ea00 /include | |
parent | 72ad4a85cc0ffe60a90011d65ef718d5852beae4 (diff) |
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@who-t.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/windowstr.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/windowstr.h b/include/windowstr.h index b39b3512f..9f86e2c50 100644 --- a/include/windowstr.h +++ b/include/windowstr.h @@ -183,7 +183,6 @@ typedef struct _Window { * FocusIn/Out events for multiple pointers/keyboards. Each device ID * corresponds to one bit. If set, the device is in the window/has focus. */ - char enterleave[(MAXDEVICES + 7)/8]; char focusinout[(MAXDEVICES + 7)/8]; } WindowRec; |