mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
wayland-pointer: Insert missing break;s
This commit is contained in:
parent
226a09b38c
commit
2b63b17327
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user