Commit 957f4ec6 authored by Marco Trevisan's avatar Marco Trevisan 🎺 Committed by Marco Trevisan

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


(cherry picked from commit deda7a52)
parent a98eb107
......@@ -580,7 +580,7 @@ meta_frame_layout_calc_geometry (MetaFrameLayout *layout,
x = rect->visible.x - layout->button_margin.left * scale;
if (i > 0)
x -= layout->titlebar_spacing;
x -= layout->titlebar_spacing * scale;
--i;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment