dix: Move DeviceFocusEvent from Xi into enterleave.c

This is only called from the enterleave implementation, so move it and its
helper functions to there. No functional changes.

Fixes build error introduced in 31174565ec if
building with '-Werror=implicit-function-declaration'

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
Peter Hutterer 2012-05-16 10:10:11 +10:00
commit ca6d25ad2d
4 changed files with 244 additions and 241 deletions

View file

@ -162,13 +162,6 @@ extern void
ProcessOtherEvent(InternalEvent * /* ev */ ,
DeviceIntPtr /* other */ );
extern void
DeviceFocusEvent(DeviceIntPtr /* dev */ ,
int /* type */ ,
int /* mode */ ,
int /* detail */ ,
WindowPtr /* pWin */ );
extern int
CheckGrabValues(ClientPtr /* client */ ,
GrabParameters * /* param */ );