xkb: split effectiveGroup calculation into separate utility function.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2009-09-08 16:30:36 +10:00
parent 8fb3fa28a5
commit 4da59f4786
3 changed files with 45 additions and 24 deletions

View File

@@ -945,6 +945,11 @@ extern void XkbFilterEvents(
int /* nEvents */,
xEvent* /* xE */);
extern int XkbGetEffectiveGroup(
XkbSrvInfoPtr /* xkbi */,
XkbStatePtr /* xkbstate */,
CARD8 /* keycode */);
#include "xkbfile.h"
#include "xkbrules.h"