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 366b8df..3c7c79f 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -812,12 +812,8 @@ void BScreen::propertyNotify(Atom atom) {
812} 812}
813 813
814void BScreen::keyPressEvent(XKeyEvent &ke) { 814void BScreen::keyPressEvent(XKeyEvent &ke) {
815 if (Fluxbox::instance()->keys()->doAction(ke.type, ke.state, ke.keycode, 815 Fluxbox::instance()->keys()->doAction(ke.type, ke.state, ke.keycode,
816 Keys::GLOBAL|Keys::ON_DESKTOP)) 816 Keys::GLOBAL|Keys::ON_DESKTOP);
817 // re-grab keyboard, so we don't pass KeyRelease to clients
818 // also for catching invalid keys in the middle of keychains
819 FbTk::EventManager::instance()->grabKeyboard(rootWindow().window());
820
821} 817}
822 818
823void BScreen::keyReleaseEvent(XKeyEvent &ke) { 819void BScreen::keyReleaseEvent(XKeyEvent &ke) {