aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 7cdf150..f1cee02 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -800,12 +800,8 @@ void BScreen::propertyNotify(Atom atom) {
800} 800}
801 801
802void BScreen::keyPressEvent(XKeyEvent &ke) { 802void BScreen::keyPressEvent(XKeyEvent &ke) {
803 if (Fluxbox::instance()->keys()->doAction(ke.type, ke.state, ke.keycode, 803 Fluxbox::instance()->keys()->doAction(ke.type, ke.state, ke.keycode,
804 Keys::GLOBAL|Keys::ON_DESKTOP)) 804 Keys::GLOBAL|Keys::ON_DESKTOP);
805 // re-grab keyboard, so we don't pass KeyRelease to clients
806 // also for catching invalid keys in the middle of keychains
807 FbTk::EventManager::instance()->grabKeyboard(rootWindow().window());
808
809} 805}
810 806
811void BScreen::keyReleaseEvent(XKeyEvent &ke) { 807void BScreen::keyReleaseEvent(XKeyEvent &ke) {