[Xfce4-commits] <xfce4-settings:master> Fix popup positionint with Left/Right rotations

Nick Schermer noreply at xfce.org
Sun Oct 28 10:45:04 CET 2012


Updating branch refs/heads/master
         to 9c3e74c50a0c83672abb0cfd99cc957ff25fe886 (commit)
       from 9516474faf7d1f69cbc82236bf47bfdb84a5af72 (commit)

commit 9c3e74c50a0c83672abb0cfd99cc957ff25fe886
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