module/i3-common: fix compilation warning with asan

This commit is contained in:
Daniel Eklöf 2020-07-07 14:06:29 +02:00
parent a7af3764f0
commit 6433373f93
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -296,9 +296,11 @@ i3_receive_loop(int abort_fd, int sock,
break; break;
/* Sway extensions */ /* Sway extensions */
case ((1<<31) | 21): /* IPC_EVENT_INPUT */ #define SWAY_IPC_EVENT_INPUT ((1u << 31) | 21)
case SWAY_IPC_EVENT_INPUT:
pkt_handler = cbs->event_input; pkt_handler = cbs->event_input;
break; break;
#undef SWAY_IPC_EVENT_INPUT
default: default:
LOG_ERR("unimplemented IPC reply type: %d", hdr->type); LOG_ERR("unimplemented IPC reply type: %d", hdr->type);