From 53876d2b620813aa28fde8d364d9b6c48777408b Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 16 Aug 2014 15:37:27 -0400 Subject: [PATCH] wayland-pointer: Squash warning This should never happen. --- src/wayland/meta-wayland-pointer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c index 22cf02a58..a6ac086f7 100644 --- a/src/wayland/meta-wayland-pointer.c +++ b/src/wayland/meta-wayland-pointer.c @@ -261,6 +261,9 @@ sync_focus_surface (MetaWaylandPointer *pointer) case META_EVENT_ROUTE_WAYLAND_POPUP: focus_surface = pointer->current; break; + + default: + g_assert_not_reached (); } if (focus_surface != pointer->focus_surface)