Add multiple modifier state matching API
authorDaniel Stone <daniel@fooishbar.org>
Wed, 9 May 2012 00:06:10 +0000 (01:06 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Wed, 9 May 2012 00:06:10 +0000 (01:06 +0100)
commit124e62e48f22dad7eb87edbaf7ac6a539a1aab5f
tree8366e5824ee9c613e1272b8f1ddf3d0ce655281e
parent74a197d2713fe1e04c2a3f116f1aa10264360653
Add multiple modifier state matching API

Two new calls allow users to test the exact modifier state, including
verifying that no other modifiers but the ones you wanted are down.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
include/xkbcommon/xkbcommon.h
src/state.c
test/state.c