aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrungithub <athrun@arnet.com.ar>2019-02-25 20:56:07 -0300
committeremersion <contact@emersion.fr>2019-02-26 08:05:17 +0100
commit2000d5240589e2cbec14158f7db72f69cdef04e6 (patch)
tree74136dd4e71f3ad83779c68d546920fcfa217420
parent0b336431757cadeb1bb2698ab9ea8d5d248fd578 (diff)
clang compile fix #1572
clang consider error no enum handled, in BSD and Linux
-rw-r--r--tinywl/tinywl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c
index 14a1d08b..66e00c03 100644
--- a/tinywl/tinywl.c
+++ b/tinywl/tinywl.c
@@ -264,6 +264,8 @@ static void server_new_input(struct wl_listener *listener, void *data) {
case WLR_INPUT_DEVICE_POINTER:
server_new_pointer(server, device);
break;
+ default:
+ break;
}
/* We need to let the wlr_seat know what our capabilities are, which is
* communiciated to the client. In TinyWL we always have a cursor, even if