From 0708d1e046f375a315baeae7c24903e4d5bf124d Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Fri, 26 Aug 2011 09:22:37 +0200 Subject: regrab ButtonMotionMask as well (needed for 'Move' events in keysfile) --- src/Keys.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { for (; it != it_end; ++it) { if ((context & it->second & ~Keys::ON_DESKTOP) > 0) FbTk::KeyUtil::grabButton(button, mod, it->first, - ButtonPressMask|ButtonReleaseMask); + ButtonPressMask|ButtonReleaseMask|ButtonMotionMask); } } -- cgit v0.11.2