[gnome-settings-daemon/gnome-3-6] xrandr: Fix "next rotation" not working
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/gnome-3-6] xrandr: Fix "next rotation" not working
- Date: Wed, 19 Dec 2012 17:08:23 +0000 (UTC)
commit dda2594233a3fdf1aca8ae5158e6c0f33a335869
Author: Heiher <admin heiher info>
Date: Wed Dec 19 18:04:10 2012 +0100
xrandr: Fix "next rotation" not working
The GNOME_RR_ROTATION_NEXT enum value was not handled correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=664363
plugins/xrandr/gsd-xrandr-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 7a8c2cf..5711c2d 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -1651,7 +1651,7 @@ handle_rotate_windows (GsdXrandrManager *mgr,
goto out;
}
- if (rotation < 0) {
+ if (rotation <= GNOME_RR_ROTATION_NEXT) {
/* Which rotation? */
get_allowed_rotations_for_output (current, priv->rw_screen, rotatable_output_info, &num_allowed_rotations, &allowed_rotations);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]