summaryrefslogtreecommitdiff
path: root/dix/window.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2008-12-19 21:05:47 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-01-08 11:45:22 +1000
commiteb2d7b3d700952ba88c77deacf687b251300e660 (patch)
treee79d63b2f06d33660183f9c4fb526470d60b922a /dix/window.c
parent673eb23aac578dcdc04e2a99d1fa5c2987eb58b8 (diff)
dix: move focus handling into enterleave.c.
This commit moves the focus handling from events.c into enterleave.c and implements a model similar to the core enter/leave model. For a full description of the model, see: http://lists.freedesktop.org/archives/xorg/2008-December/041740.html This commit also gets rid of the focusinout array in the WindowRec, ditching it in favour of a local array that keeps the current focus window for each device. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/window.c')
-rw-r--r--dix/window.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dix/window.c b/dix/window.c
index ca07c9633..5e8338f2f 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -300,8 +300,6 @@ SetWindowToDefaults(WindowPtr pWin)
pWin->redirectDraw = RedirectDrawNone;
pWin->forcedBG = FALSE;
- memset(pWin->focusinout, 0, sizeof(pWin->focusinout));
-
#ifdef ROOTLESS
pWin->rootlessUnhittable = FALSE;
#endif