code clean up

This commit is contained in:
Dana Jansens 2008-01-11 13:06:37 -05:00
parent 162a97e158
commit b447f16f60

View file

@ -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
{