[sugar] [PATCH] Add is_modifier and is_special_modifier functions to SugarKeyGrabber.
Benjamin Berg
benjamin at sipsolutions.net
Wed Jun 4 18:24:40 EDT 2008
This commit adds two new functions to SugarKeyGrabber that allow to check
whether a modifier key has been pressed or released. This is needed to stop
tabbing when <Alt> is released again.
---
src/sugar/_sugarext.defs | 19 +++++++++++++
src/sugar/sugar-key-grabber.c | 59 +++++++++++++++++++++++++++++++++++++++++
src/sugar/sugar-key-grabber.h | 6 ++++
3 files changed, 84 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 710ffa9d3c05dc12826e54c9aab856dd92d89952.diff
Type: text/x-patch
Size: 3038 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/sugar/attachments/20080605/126cde32/attachment.bin
More information about the Sugar
mailing list