[Xfce4-commits] [xfce/xfce4-settings] 39/67: display: Make sure the primary indicator looks consistent
noreply at xfce.org
noreply at xfce.org
Sat Sep 22 11:23:30 CEST 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 d68b0147e53df1b482fc8f6dac884b243c29a07e
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Sun Aug 26 19:23:40 2018 +0200
display: Make sure the primary indicator looks consistent
Instead of hardcoding a single value, we follow the alpha settings of
selected/unselected displays.
---
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 ca9aeb9..44eeb33 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -2864,7 +2864,7 @@ paint_output (cairo_t *cr, int i, double *snap_x, double *snap_y)
/* Draw a panel type rectangle to show which monitor is primary */
if (xfce_randr->status[output->id] == XFCE_OUTPUT_STATUS_PRIMARY) {
cairo_rectangle (cr, x + 1, y + 1, end_x - x - 2, 7);
- cairo_set_source_rgba (cr, 0.0, 0.0, 0.0, 0.6);
+ cairo_set_source_rgba (cr, 0.0, 0.0, 0.0, alpha - 0.2);
cairo_fill (cr);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list