mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-26 11:00:06 +01:00
path: log two errors as application bugs
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
7f577e8d49
commit
d1f1563aab
1 changed files with 2 additions and 2 deletions
|
|
@ -264,7 +264,7 @@ libinput_path_add_device(struct libinput *libinput,
|
|||
struct libinput_device *device;
|
||||
|
||||
if (libinput->interface_backend != &interface_backend) {
|
||||
log_error("Mismatching backends. This is an application bug.\n");
|
||||
log_bug_client("Mismatching backends.\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
@ -301,7 +301,7 @@ libinput_path_remove_device(struct libinput_device *device)
|
|||
struct path_device *dev;
|
||||
|
||||
if (libinput->interface_backend != &interface_backend) {
|
||||
log_error("Mismatching backends. This is an application bug.\n");
|
||||
log_bug_client("Mismatching backends.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue