diff options
author | athrungithub <athrun@arnet.com.ar> | 2019-02-25 20:56:07 -0300 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-02-26 08:05:17 +0100 |
commit | 2000d5240589e2cbec14158f7db72f69cdef04e6 (patch) | |
tree | 74136dd4e71f3ad83779c68d546920fcfa217420 | |
parent | 0b336431757cadeb1bb2698ab9ea8d5d248fd578 (diff) |
clang compile fix #1572
clang consider error no enum handled,
in BSD and Linux
-rw-r--r-- | tinywl/tinywl.c | 2 |
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 |