[gnome-settings-daemon] wacom: re-apply calibration and aspect ratio
- From: Olivier Fourdan <ofourdan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: re-apply calibration and aspect ratio
- Date: Tue, 17 Jul 2012 16:39:36 +0000 (UTC)
commit 0f06d82070cb22abb1740a2974993fc843099cb3
Author: Olivier Fourdan <ofourdan redhat com>
Date: Tue Jul 17 14:18:55 2012 +0200
wacom: re-apply calibration and aspect ratio
after screen configuration changes
https://bugzilla.gnome.org/show_bug.cgi?id=677095
plugins/wacom/gsd-wacom-manager.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index 7cb62d8..543c6ec 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -1197,6 +1197,9 @@ on_screen_changed_cb (GnomeRRScreen *rr_screen,
continue;
settings = gsd_wacom_device_get_settings (device);
+ if (!gsd_wacom_device_is_screen_tablet (device))
+ set_keep_aspect (device, g_settings_get_boolean (settings, KEY_KEEP_ASPECT));
+ set_area (device, g_settings_get_value (settings, KEY_AREA));
set_display (device, g_settings_get_value (settings, KEY_DISPLAY));
}
g_list_free (devices);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]