summaryrefslogtreecommitdiff
path: root/capplets/display/xrandr-capplet.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:23:33 +0200
committerraveit65 <[email protected]>2021-11-20 21:45:51 +0100
commit17ccb4f4bd610252e4ea600546750ddcc09c855a (patch)
treee1cc1783e0d46cb80c52d2a40b748925141f25ee /capplets/display/xrandr-capplet.c
parent9d702031671fa8aa4cdf6ea512b3f59b8ea3da37 (diff)
downloadmate-control-center-17ccb4f4bd610252e4ea600546750ddcc09c855a.tar.bz2
mate-control-center-17ccb4f4bd610252e4ea600546750ddcc09c855a.tar.xz
Use a blank line at most
Diffstat (limited to 'capplets/display/xrandr-capplet.c')
-rw-r--r--capplets/display/xrandr-capplet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c
index 91a87235..03d9842e 100644
--- a/capplets/display/xrandr-capplet.c
+++ b/capplets/display/xrandr-capplet.c
@@ -964,7 +964,6 @@ realign_outputs_after_resolution_change (App *app, MateRROutputInfo *output_that
else if (output_x + output_width == old_right_edge)
output_x = x + width - output_width;
-
if (output_y >= old_bottom_edge)
output_y += dy;
else if (output_y + output_height == old_bottom_edge)
@@ -1811,7 +1810,6 @@ paint_output (App *app,
- x - (w * scale + 0.5) / 2,
- y - (h * scale + 0.5) / 2);
-
cairo_rectangle (cr, x, y, w * scale + 0.5, h * scale + 0.5);
cairo_clip_preserve (cr);