[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:34:42 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 m a s t e r
in repository xfce/xfce4-settings.
commit 8433ef549b5083b54f8d2f6be928305686fbe908
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 624432b..b6ced87 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -913,7 +913,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