aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorAbdelhakim Qbaich <abdelhakim@qbaich.com>2019-06-07 00:04:17 -0400
committerSimon Ser <contact@emersion.fr>2019-06-07 10:15:03 +0300
commit9bfbb0dd49d4c473dfc5b3f89fb1469b416ea082 (patch)
treeb7d2556be9243d24272a300235e70c764b9ff3bf /swaymsg
parentb4b274cdcea5269fc39ef9c846157d211f79eec9 (diff)
Add the missing constant for the switch input type
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/main.c1
1 files changed, 1 insertions, 0 deletions
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) {