mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-05 06:38:02 +02:00
libeis: fix wrong message field assignment
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
b79f309a6c
commit
247b6d0dcb
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ client_parse_message(const char *data_in, size_t len)
|
|||
|
||||
*msg = (struct message) {
|
||||
.type = MESSAGE_REMOVE_DEVICE,
|
||||
.add_device.deviceid = deviceid,
|
||||
.remove_device.deviceid = deviceid,
|
||||
};
|
||||
} else if (streq(tokens[0], "rel")) {
|
||||
if (!tokens[1] || !tokens[2] || !tokens[3])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue