[Xfce4-commits] [xfce/xfce4-settings] 04/05: Fixed multimonitor position in extended mode
noreply at xfce.org
noreply at xfce.org
Sun Mar 11 13:09:08 CET 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e 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 34396b237268d32959b1c28d297b9b574097446e
Author: Florian Schüller <florian.schueller at gmail.com>
Date: Sun Mar 4 00:13:07 2018 +0100
Fixed 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 6f54a54..21216ab 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -919,7 +919,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