diff options
author | rbuj <[email protected]> | 2021-12-19 10:37:36 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-12-19 19:37:38 +0100 |
commit | 5bd053ad542479eaec4166e45195c5e911472f88 (patch) | |
tree | 251d169d6985ced8251253700d923445ee56ed97 /mate-panel/panel-xutils.c | |
parent | 79a8279c52e3d0b66985cbbeaeb88bae1522c4c2 (diff) | |
download | mate-panel-5bd053ad542479eaec4166e45195c5e911472f88.tar.bz2 mate-panel-5bd053ad542479eaec4166e45195c5e911472f88.tar.xz |
Upscale in panel_xutils_set_strut
Diffstat (limited to 'mate-panel/panel-xutils.c')
-rw-r--r-- | mate-panel/panel-xutils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-panel/panel-xutils.c b/mate-panel/panel-xutils.c index eb887e71..5331ff59 100644 --- a/mate-panel/panel-xutils.c +++ b/mate-panel/panel-xutils.c @@ -92,6 +92,10 @@ panel_xutils_set_strut (GdkWindow *gdk_window, if (gnome_wm_strut_area == None) gnome_wm_strut_area = XInternAtom (xdisplay, "_GNOME_WM_STRUT_AREA", False); + strut *= scale; + strut_start *= scale; + strut_end *= scale; + switch (orientation) { case PANEL_ORIENTATION_LEFT: struts [STRUT_LEFT] = strut; |