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:
parent
03eaf444a4
commit
46cfa8ff56
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user