1
0
Fork 0

theme: Scale titlebar spacing when computing x

The value is not scaled by default so it needs to be adjusted
depending on the window scaling, as it's done in other places.

Fixes: #87
This commit is contained in:
Marco Trevisan (Treviño) 2018-03-23 10:50:04 -05:00 committed by Marco Trevisan
parent 96141e28f9
commit deda7a5235

View file

@ -580,7 +580,7 @@ meta_frame_layout_calc_geometry (MetaFrameLayout *layout,
x = rect->visible.x - layout->button_margin.left * scale; x = rect->visible.x - layout->button_margin.left * scale;
if (i > 0) if (i > 0)
x -= layout->titlebar_spacing; x -= layout->titlebar_spacing * scale;
--i; --i;
} }