Xi: Introduce XIShouldNotify

XIShouldNotify just lets you know if you should send an event for a
keymap change (or similar) concerning a given device to a given client;
at the moment, this is only for devices which are sending events to that
client.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Daniel Stone
2008-10-28 16:27:37 +11:00
parent b5242789ed
commit 1d1a0f67ee
2 changed files with 21 additions and 0 deletions

View File

@@ -255,4 +255,9 @@ extern _X_EXPORT int XIPropToFloat(
float **buf_return
);
/* For an event such as MappingNotify which affects client interpretation
* of input events sent by device dev, should we notify the client, or
* would it merely be irrelevant and confusing? */
extern _X_EXPORT int XIShouldNotify(ClientPtr client, DeviceIntPtr dev);
#endif /* EXEVENTS_H */