[gnome-settings-daemon/randr-rotate-wacom-tablet: 4/6] Handle rotation of the tablet every time we apply a RANDR configuration
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/randr-rotate-wacom-tablet: 4/6] Handle rotation of the tablet every time we apply a RANDR configuration
- Date: Wed, 27 Jan 2010 19:32:40 +0000 (UTC)
commit 12702f2f97d8caf7014339ec0923fe830dfe4b33
Author: Federico Mena Quintero <federico novell com>
Date: Thu Jan 29 18:42:40 2009 -0600
Handle rotation of the tablet every time we apply a RANDR configuration
Signed-off-by: Federico Mena Quintero <federico novell com>
plugins/xrandr/gsd-xrandr-manager.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index ead29be..7b175a8 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -196,8 +196,10 @@ apply_configuration_from_filename (GsdXrandrManager *manager,
my_error = NULL;
success = gnome_rr_config_apply_from_filename_with_time (priv->rw_screen, filename, timestamp, &my_error);
- if (success)
+ if (success) {
+ handle_tablet_rotation (manager);
return TRUE;
+ }
if (g_error_matches (my_error, GNOME_RR_ERROR, GNOME_RR_ERROR_NO_MATCHING_CONFIG)) {
if (no_matching_config_is_an_error)
@@ -234,6 +236,8 @@ apply_configuration_and_display_error (GsdXrandrManager *manager, GnomeGnomeRRCo
g_error_free (error);
}
+ handle_tablet_rotation (manager);
+
return success;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]