aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-21 09:03:13 (GMT)
committerfluxgen <fluxgen>2004-01-21 09:03:13 (GMT)
commitedba109c2634c9311314f22d863a144799b2575f (patch)
tree769d6bf0fa06608058ea016e69d6d4d85d4f01f3
parent30bd98456ef169419ee03c0eab3e662848eeb3d1 (diff)
downloadfluxbox-edba109c2634c9311314f22d863a144799b2575f.zip
fluxbox-edba109c2634c9311314f22d863a144799b2575f.tar.bz2
no need to ignore modifiers when we navigate the menu with keys
-rw-r--r--src/FbTk/Menu.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 4554541..2adc996 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Menu.cc,v 1.53 2004/01/16 11:02:54 fluxgen Exp $ 25// $Id: Menu.cc,v 1.54 2004/01/21 09:03:13 fluxgen Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -1304,8 +1304,6 @@ void Menu::keyPressEvent(XKeyEvent &event) {
1304 // a modifier key by itself doesn't do anything 1304 // a modifier key by itself doesn't do anything
1305 if (IsModifierKey(ks)) 1305 if (IsModifierKey(ks))
1306 return; 1306 return;
1307 if (event.state) // dont handle modifier with normal key
1308 return;
1309 1307
1310 switch (ks) { 1308 switch (ks) {
1311 case XK_Up: 1309 case XK_Up: