summaryrefslogtreecommitdiff
path: root/xkb/XKBMisc.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-07-23 13:24:34 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-08-13 11:07:21 +1000
commit1a172f3297369a72865232c382abfc14281102a4 (patch)
tree668766fb10489d8109b1d27ea7d73f8a14aceea2 /xkb/XKBMisc.c
parent651c36e95ec0ac60d3fb98966df4218712ae78c2 (diff)
xkb: if the button isn't down, don't fake an event.
If the button we're about to fake isn't down (or up), don't fake a release (or press) event for it. Behaviour is the same as before, this just saves a few cycles. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'xkb/XKBMisc.c')
0 files changed, 0 insertions, 0 deletions