events: Clean up a bit

This commit is contained in:
Jasper St. Pierre 2014-04-21 12:15:17 -04:00
parent 813206393a
commit adf0d08585

View File

@ -2109,6 +2109,7 @@ meta_display_handle_event (MetaDisplay *display,
}
}
break;
case CLUTTER_BUTTON_RELEASE:
if (grab_op_should_block_mouse_events (display->grab_op))
break;
@ -2116,9 +2117,6 @@ meta_display_handle_event (MetaDisplay *display,
display->overlay_key_only_pressed = FALSE;
break;
case CLUTTER_MOTION:
break;
case CLUTTER_KEY_PRESS:
case CLUTTER_KEY_RELEASE:
/* For key events, it's important to enforce single-handling, or