From b447f16f6080e1a92c3ea6a5848609a7a96ea3ce Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 11 Jan 2008 13:06:37 -0500 Subject: [PATCH] code clean up --- openbox/event.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openbox/event.c b/openbox/event.c index 0c97bd93..e3214a7a 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -264,10 +264,8 @@ static void event_hack_mods(XEvent *e) /* If XKB is present, then the modifiers are all strange from its magic. Our X core protocol stuff won't work, so we use this to find what the modifier state is instead. */ - if (XkbGetState(ob_display, XkbUseCoreKbd, &xkb_state) == Success) { + if (XkbGetState(ob_display, XkbUseCoreKbd, &xkb_state) == Success) e->xkey.state = xkb_state.compat_state; - break; - } else #endif { -- 2.39.2