diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2011-08-26 07:22:37 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2011-08-26 07:22:37 (GMT) |
commit | 0708d1e046f375a315baeae7c24903e4d5bf124d (patch) | |
tree | a8e85c00c786674fcbdade52daeeb27692f036cb | |
parent | ec6df5c3d19ed760f343d6755ad396b00ac8f4ea (diff) | |
download | fluxbox-0708d1e046f375a315baeae7c24903e4d5bf124d.zip fluxbox-0708d1e046f375a315baeae7c24903e4d5bf124d.tar.bz2 |
regrab ButtonMotionMask as well (needed for 'Move' events in keysfile)
-rw-r--r-- | src/Keys.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Keys.cc b/src/Keys.cc index 5d59701..0c20f9e 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -256,7 +256,7 @@ void Keys::grabButton(unsigned int button, unsigned int mod, int context) { | |||
256 | for (; it != it_end; ++it) { | 256 | for (; it != it_end; ++it) { |
257 | if ((context & it->second & ~Keys::ON_DESKTOP) > 0) | 257 | if ((context & it->second & ~Keys::ON_DESKTOP) > 0) |
258 | FbTk::KeyUtil::grabButton(button, mod, it->first, | 258 | FbTk::KeyUtil::grabButton(button, mod, it->first, |
259 | ButtonPressMask|ButtonReleaseMask); | 259 | ButtonPressMask|ButtonReleaseMask|ButtonMotionMask); |
260 | } | 260 | } |
261 | } | 261 | } |
262 | 262 | ||