diff options
author | Victor Kareh <[email protected]> | 2019-10-11 21:04:39 -0400 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2019-10-27 13:42:15 -0400 |
commit | 621223f9180936e946b8a89b37d4b106187a6d41 (patch) | |
tree | fa655294220896c2538c298469eb1f96ddc85bb9 /src/core/prefs.c | |
parent | 1e0487779920e369aaacb80e0e26398170940e45 (diff) | |
download | marco-621223f9180936e946b8a89b37d4b106187a6d41.tar.bz2 marco-621223f9180936e946b8a89b37d4b106187a6d41.tar.xz |
tabpopup: Draw transparent OSD-style popups
Diffstat (limited to 'src/core/prefs.c')
-rw-r--r-- | src/core/prefs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/prefs.c b/src/core/prefs.c index b9f0362b..df6bed14 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -1137,7 +1137,10 @@ meta_prefs_get_cursor_size (void) int meta_prefs_get_icon_size (void) { - return icon_size; + GdkWindow *window = gdk_get_default_root_window (); + gint scale = gdk_window_get_scale_factor (window); + + return icon_size * scale; } int |