summaryrefslogtreecommitdiff
path: root/sway/ipc-json.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <[email protected]>2018-12-16 13:27:45 +0000
committeremersion <[email protected]>2018-12-16 15:04:06 +0100
commit1442d4e6881e06c9a43c985e6b890cfe77e13adf (patch)
tree976cdd267caae84e911992dc2d9cadc9817ed29e /sway/ipc-json.c
parentc8284176dbc74acbf113c2d026124bf87cf8d5d3 (diff)
Update for swaywm/wlroots#1377
-Werror is eͫ̐ͭ҉vi͆ͦ̏ͦlͥ̀͒̊͂͛
Diffstat (limited to 'sway/ipc-json.c')
-rw-r--r--sway/ipc-json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index fc631373..0c94fb63 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -93,6 +93,8 @@ static const char *ipc_json_device_type_description(struct sway_input_device *de
return "tablet_tool";
case WLR_INPUT_DEVICE_TABLET_PAD:
return "tablet_pad";
+ case WLR_INPUT_DEVICE_SWITCH:
+ return "switch";
}
return "unknown";
}