commit 46cfa8ff56acff0139b2e24300cbc3ea19da723f
parent 03eaf444a4a432e5712d40f93d849b51d2028b63
Author: Ian Fan <ianfan0@gmail.com>
Date: Wed, 1 Aug 2018 16:22:06 +0100
ipc: remove extraneous values
Removes IPC_EVENT_MODIFIER and IPC_EVENT_INPUT, which were sway-specific and unused
Diffstat:
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/include/ipc.h b/include/ipc.h
@@ -30,8 +30,6 @@ enum ipc_command_type {
IPC_EVENT_BINDING = ((1<<31) | 5),
IPC_EVENT_SHUTDOWN = ((1<<31) | 6),
IPC_EVENT_TICK = ((1<<31) | 7),
- IPC_EVENT_MODIFIER = ((1<<31) | 16),
- IPC_EVENT_INPUT = ((1<<31) | 17),
};
#endif
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
@@ -664,8 +664,6 @@ void ipc_client_handle_command(struct ipc_client *client) {
client->subscribed_events |= event_mask(IPC_EVENT_SHUTDOWN);
} else if (strcmp(event_type, "window") == 0) {
client->subscribed_events |= event_mask(IPC_EVENT_WINDOW);
- } else if (strcmp(event_type, "modifier") == 0) {
- client->subscribed_events |= event_mask(IPC_EVENT_MODIFIER);
} else if (strcmp(event_type, "binding") == 0) {
client->subscribed_events |= event_mask(IPC_EVENT_BINDING);
} else if (strcmp(event_type, "tick") == 0) {