From bdee659c5338a846c941dc716f2df34c01d3c60d Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 18 Jul 2017 15:06:03 +0100 Subject: Forces a window scale of 1 for the panel, instead of using the default or user configured scale. Closes #621 --- mate-panel/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mate-panel') diff --git a/mate-panel/main.c b/mate-panel/main.c index 8355a227..e3241bcc 100644 --- a/mate-panel/main.c +++ b/mate-panel/main.c @@ -84,6 +84,9 @@ main (int argc, char **argv) gtk_init (&argc, &argv); + /* FIXME: High dpi scaling does not work... */ + gdk_x11_display_set_window_scale (gdk_display_get_default (), 1); + error = NULL; if (!g_option_context_parse (context, &argc, &argv, &error)) { g_printerr ("%s\n", error->message); -- cgit v1.2.1