From 9bfbb0dd49d4c473dfc5b3f89fb1469b416ea082 Mon Sep 17 00:00:00 2001
From: Abdelhakim Qbaich <abdelhakim@qbaich.com>
Date: Fri, 7 Jun 2019 00:04:17 -0400
Subject: Add the missing constant for the switch input type

---
 swaymsg/main.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'swaymsg')

diff --git a/swaymsg/main.c b/swaymsg/main.c
index 7ee553e7..f288d4a0 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -103,6 +103,7 @@ static const char *pretty_type_name(const char *name) {
 		{ "tablet_pad", "Tablet pad" },
 		{ "tablet_tool", "Tablet tool" },
 		{ "touch", "Touch" },
+		{ "switch", "Switch" },
 	};
 
 	for (size_t i = 0; i < sizeof(type_names) / sizeof(type_names[0]); ++i) {
-- 
cgit v1.2.3