[Xfce4-commits] [xfce/xfce4-settings] 01/01: display: Fix multimonitor position in extended mode

noreply at xfce.org noreply at xfce.org
Sun Mar 4 00:38:03 CET 2018


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       x   f   c   e   -   4   .   1   2   
   in repository xfce/xfce4-settings.

commit 0e17dea042098f65dd0bc33da4f533c2492e396c
Author: Florian Schüller <florian.schueller at gmail.com>
Date:   Sun Mar 4 00:33:45 2018 +0100

    display: Fix multimonitor position in extended mode
    
    When adding more than two monitors the widths should be added for all
    subsequent monitors.
---
 dialogs/display-settings/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 199e291..376e2fe 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -905,7 +905,7 @@ display_setting_mirror_displays_toggled (GtkToggleButton *togglebutton,
             xfce_randr->position[n].x = pos;
             xfce_randr->position[n].y = 0;
 
-            pos = xfce_randr_mode_width (xfce_randr_find_mode_by_id (xfce_randr, n, xfce_randr->mode[n]), 0);
+            pos += xfce_randr_mode_width (xfce_randr_find_mode_by_id (xfce_randr, n, xfce_randr->mode[n]), 0);
         }
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list