mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user