diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Keys.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Keys.cc b/src/Keys.cc index 31f1722..1e66463 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -555,6 +555,10 @@ bool Keys::doAction(int type, unsigned int mods, unsigned int key, | |||
555 | if (!temp_key && isdouble) | 555 | if (!temp_key && isdouble) |
556 | temp_key = next_key->find(type, mods, key, context, false); | 556 | temp_key = next_key->find(type, mods, key, context, false); |
557 | 557 | ||
558 | if (!temp_key && type == ButtonPress && // unassigned button press | ||
559 | next_key->find(MotionNotify, mods, key, context, false)) | ||
560 | return true; // if there's a motion action, prevent replay to the client (but do nothing) | ||
561 | |||
558 | if (temp_key && !temp_key->keylist.empty()) { // emacs-style | 562 | if (temp_key && !temp_key->keylist.empty()) { // emacs-style |
559 | if (!saved_keymode) | 563 | if (!saved_keymode) |
560 | saved_keymode = m_keylist; | 564 | saved_keymode = m_keylist; |