[gnome-settings-daemon] wacom: Check for calibration state on startup/device-added
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Check for calibration state on startup/device-added
- Date: Wed, 18 Dec 2013 17:22:38 +0000 (UTC)
commit 7edd93c95d6040f48e4ba0e3caf58e7828ca0280
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Dec 16 13:41:45 2013 +0100
wacom: Check for calibration state on startup/device-added
So the user is notified when plugging a brand new tablet, or a
previously known one that's maybe miscalibrated on the current
set-up.
https://bugzilla.gnome.org/show_bug.cgi?id=700461
plugins/wacom/gsd-wacom-manager.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index b74d8d7..f668f90 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -1166,6 +1166,10 @@ device_added_cb (GdkDeviceManager *device_manager,
}
set_wacom_settings (manager, device);
+
+ if (type == WACOM_TYPE_STYLUS &&
+ gsd_wacom_device_is_screen_tablet (device))
+ wacom_device_calibration_check (device);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]