wayland-pointer: Insert missing break;s

This commit is contained in:
Jasper St. Pierre 2014-08-16 15:37:45 -04:00
parent 226a09b38c
commit 2b63b17327

View File

@ -255,10 +255,12 @@ sync_focus_surface (MetaWaylandPointer *pointer)
case META_EVENT_ROUTE_COMPOSITOR_GRAB:
/* The compositor has focus, so remove our focus... */
focus_surface = NULL;
break;
case META_EVENT_ROUTE_NORMAL:
case META_EVENT_ROUTE_WAYLAND_POPUP:
focus_surface = pointer->current;
break;
}
if (focus_surface != pointer->focus_surface)