summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrungithub <[email protected]>2019-02-25 20:56:07 -0300
committeremersion <[email protected]>2019-02-26 08:05:17 +0100
commitb4e1c4ae2ef8034ef668c3d28be5691c2e84d4be (patch)
treeae9255c261bf13fffcb245b7e9fa70df567f0d78
parentfdd96b4f547cf056ad87d27a14146a592b8a67fe (diff)
clang compile fix #1572
clang consider error no enum handled, in BSD and Linux
-rw-r--r--tinywl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tinywl.c b/tinywl.c
index 14a1d08..66e00c0 100644
--- a/tinywl.c
+++ b/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