! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
getKeyPressed and last key entry
Status:
RESOLVED: DUPLICATE

Comments

Description simon 2007-07-06 17:10:30 CEST
the getKeyPressed() function always return the last key entry if no match is found. As the last key entry is KEY_WORKSPACE_12, problems arrives when this key binding is done.
Comment 1 simon 2007-07-06 17:22:34 CEST
Created attachment 1276 
exit getKeyPressed() with KEY_COUNT in a no match case

Replace the KEY_LAST macro with KEY_COUNT. In a no match key case, KEY_COUNT is returned instead of the last key usable entry.
Comment 2 Olivier Fourdan editbugs 2007-07-07 19:00:31 CEST
Already fixed in SVN. But thanks anyway ;-)

*** This bug has been marked as a duplicate of bug 3191 ***

Bug #3378

Reported by:
simon
Reported on: 2007-07-06
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information