[metacity/wip/iainl/gnome-3-18-window-scaling] theme: fix font size
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity/wip/iainl/gnome-3-18-window-scaling] theme: fix font size
- Date: Thu, 24 Mar 2016 12:50:41 +0000 (UTC)
commit 8031808e292eb3b4e325f1c6de1aa0ff099b9398
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Mar 24 14:50:24 2016 +0200
theme: fix font size
src/ui/theme.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 6717931..7e1590c 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -6040,7 +6040,7 @@ meta_theme_get_title_scale (MetaTheme *theme,
if (style == NULL)
return 1.0;
- return style->layout->title_scale;
+ return style->layout->title_scale / get_window_scaling_factor ();
}
static GtkStyleContext *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]