mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00: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
(cherry picked from commit deda7a5235
)
This commit is contained in:
parent
a98eb107be
commit
957f4ec69d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user