regrab ButtonMotionMask as well (needed for 'Move' events in keysfile)

This commit is contained in:
Mathias Gumz 2011-08-26 09:22:37 +02:00
parent ec6df5c3d1
commit 0708d1e046

View file

@ -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);
}
}