swap order of latched and locked state of modifier keys
On-screen virtual keyboard
Status: Beta
Brought to you by:
agrech
The patch attached changes the behavior of the Mouse FSM and I strongly believe that this change dramatically increases usability. In detail, it swaps the order of "locked" and "latched" states of modifier keys, because I believe that the most common use is the Shift modifier key for single capital letters at the beginning of a word.
If you don't like this behavior as a default behavior of the Mouse FSM, I would kindly ask you to offer this functionality as an alternative Mouse FSM in Florence.
PLEASE DISREGARD THIS PATCH, because the behaviour of the Mouse FSM was already correct before. It just behaved wrong on my desktop, because "button-press-event"s were processed twice instead of once.
This seems to be a bug and is related to the handler returning 'FALSE'. When the handler returns 'TRUE' instead, everything seems to work correctly.