Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On X11, set all meta bits for arrow key events synthesized from mouse…
… wheel events to distingusih them from real arrow key events. This is an attempt at compatibility with the Mac. The same approach might also be appropriate on Windows. Minor clean ups and added commentary.
- Loading branch information
1 parent
fe517ee
commit d964e74
Showing
4 changed files
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Err, isn't it a regression?
The
TEXT
macro must not be used withTEXT(string1 string2)
but ratherTEXT(string1) TEXT(string2)
, otherwise it will mix byte and wide string.