[gnome-boxes/set-default-input-bus: 1/2] vm-configurator: Lookup for Tablet device by name
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/set-default-input-bus: 1/2] vm-configurator: Lookup for Tablet device by name
- Date: Mon, 17 Dec 2018 14:12:00 +0000 (UTC)
commit 81f850705f8122fc84c22f8d0ddbd504550bf12a
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Dec 17 15:06:54 2018 +0100
vm-configurator: Lookup for Tablet device by name
There's no such a thing as a "tablet" device class in libosinfo.
src/vm-configurator.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index 55b524f7..8e88b399 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -431,7 +431,7 @@ private static void set_sound_config (Domain domain, InstallerMedia install_medi
}
private static void set_tablet_config (Domain domain, InstallerMedia install_media) {
- var device = find_device_by_prop (install_media.supported_devices, DEVICE_PROP_CLASS, "tablet");
+ var device = find_device_by_prop (install_media.supported_devices, DEVICE_PROP_NAME, "tablet");
if (device != null) {
set_input_config (domain, DomainInputDeviceType.TABLET);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]