1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 17:32:40 +01:00

ipc: remove extraneous values

Removes IPC_EVENT_MODIFIER and IPC_EVENT_INPUT, which were sway-specific and unused
This commit is contained in:
Ian Fan 2018-08-01 16:22:06 +01:00
parent 03eaf444a4
commit 46cfa8ff56
2 changed files with 0 additions and 4 deletions

@ -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

@ -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) {