all repos — fluxbox @ bbdc61c87bdb64af92c958065c3d4f204ac2bee3

custom fork of the fluxbox windowmanager

strip off extra bits set by Xorg in event state
markt markt
commit

bbdc61c87bdb64af92c958065c3d4f204ac2bee3

parent

9522db45a8184ec763f2ed7b926dd222df1d6947

2 files changed, 5 insertions(+), 2 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,6 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0.0: *07/06/28: + * Strip off additional bits in event state set by Xorg, bug #1736252 (Mark) + FbTk/KeyUtil.hh * Added some missing Open Office entries and window managers, plus some other minor changes in fluxbox-generate_menu fluxbox-generate_menu.in
M src/FbTk/KeyUtil.hhsrc/FbTk/KeyUtil.hh

@@ -69,8 +69,9 @@ Strip out modifiers we want to ignore

@return the cleaned state number */ unsigned int cleanMods(unsigned int mods) { - //remove numlock, capslock and scrolllock - return mods & ~(capslock() | numlock() | scrolllock()); + // remove numlock, capslock, and scrolllock + // and anything beyond Button5Mask + return mods & ~(capslock() | numlock() | scrolllock()) & ((1<<13) - 1); } /**