diff options
author | Abdelhakim Qbaich <abdelhakim@qbaich.com> | 2019-06-07 00:04:17 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-06-07 10:15:03 +0300 |
commit | 9bfbb0dd49d4c473dfc5b3f89fb1469b416ea082 (patch) | |
tree | b7d2556be9243d24272a300235e70c764b9ff3bf | |
parent | check for empty string before calling strtoul() and check errno (diff) | |
download | sway-9bfbb0dd49d4c473dfc5b3f89fb1469b416ea082.tar.gz sway-9bfbb0dd49d4c473dfc5b3f89fb1469b416ea082.tar.zst sway-9bfbb0dd49d4c473dfc5b3f89fb1469b416ea082.zip |
Add the missing constant for the switch input type
-rw-r--r-- | swaymsg/main.c | 1 |
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) { | |||
103 | { "tablet_pad", "Tablet pad" }, | 103 | { "tablet_pad", "Tablet pad" }, |
104 | { "tablet_tool", "Tablet tool" }, | 104 | { "tablet_tool", "Tablet tool" }, |
105 | { "touch", "Touch" }, | 105 | { "touch", "Touch" }, |
106 | { "switch", "Switch" }, | ||
106 | }; | 107 | }; |
107 | 108 | ||
108 | for (size_t i = 0; i < sizeof(type_names) / sizeof(type_names[0]); ++i) { | 109 | for (size_t i = 0; i < sizeof(type_names) / sizeof(type_names[0]); ++i) { |