mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
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:
parent
96141e28f9
commit
deda7a5235
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user