[Xfce4-commits] <xfce4-settings:bluesabre/display-settings> Fix popup positionint with Left/Right rotations
Simon Steinbeiss
noreply at xfce.org
Thu Oct 18 23:38:04 CEST 2012
Updating branch refs/heads/bluesabre/display-settings
to 48f16ca76e3f4db6bfc74e1ca4c542ab2b5d4e0a (commit)
from 2c994717763c0c248f292ec03e99bba30c1d0a5b (commit)
commit 48f16ca76e3f4db6bfc74e1ca4c542ab2b5d4e0a
Author: Lionel Le Folgoc <lionel at lefolgoc.net>
Date: Wed Oct 17 20:38:53 2012 +0200
Fix popup positionint with Left/Right rotations
Signed-off-by: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
dialogs/display-settings/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 89559dd..6c1656e 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -1039,8 +1039,8 @@ display_setting_identity_display (gint display_id)
screen_pos_x = 0;
screen_pos_y = 0;
}
- screen_width = current_mode->width;
- screen_height = current_mode->height;
+ screen_width = xfce_randr_mode_width (current_mode, xfce_randr->rotation[display_id]);
+ screen_height = xfce_randr_mode_height (current_mode, xfce_randr->rotation[display_id]);
}
else
{
More information about the Xfce4-commits
mailing list