diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-07-30 16:36:56 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-03 10:11:48 +1000 |
commit | d3e5629fac224d53a972df5e2a87db02534f9b17 (patch) | |
tree | 2d7215ae08a23b0c0867a6c0269aa2a97bb655e8 /dix/enterleave.h | |
parent | 97ed946cfccec5979c47b5fabf1ad56cc7d33ef4 (diff) |
dix: call SetFocusOut and LeaveWindow when disabling a device.
PointerWindows[x] would be set after removing a master pointer. Destroying
this window then crashed the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/enterleave.h')
-rw-r--r-- | dix/enterleave.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dix/enterleave.h b/dix/enterleave.h index 4da4e02fb..471f4efaa 100644 --- a/dix/enterleave.h +++ b/dix/enterleave.h @@ -76,6 +76,7 @@ extern void EnterWindow(DeviceIntPtr dev, WindowPtr win, int mode); +extern void LeaveWindow(DeviceIntPtr dev); extern void CoreFocusEvent(DeviceIntPtr kbd, int type, |