mirror of
https://github.com/swaywm/sway.git
synced 2024-12-25 22:46:31 +01:00
parent
4faf0f9098
commit
1d783794b5
1 changed files with 2 additions and 2 deletions
|
@ -418,8 +418,8 @@ bool sway_libinput_device_is_builtin(struct sway_input_device *sway_device) {
|
|||
}
|
||||
|
||||
const char prefix_platform[] = "platform-";
|
||||
if (strncmp(id_path, prefix_platform, strlen(prefix_platform)) != 0) {
|
||||
return false;
|
||||
if (strncmp(id_path, prefix_platform, strlen(prefix_platform)) == 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const char prefix_pci[] = "pci-";
|
||||
|
|
Loading…
Reference in a new issue