commit 9bfbb0dd49d4c473dfc5b3f89fb1469b416ea082
parent b4b274cdcea5269fc39ef9c846157d211f79eec9
Author: Abdelhakim Qbaich <abdelhakim@qbaich.com>
Date: Fri, 7 Jun 2019 00:04:17 -0400
Add the missing constant for the switch input type
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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) {