summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2017-07-18 15:06:03 +0100
committerlukefromdc <[email protected]>2017-08-02 15:14:23 -0400
commitbdee659c5338a846c941dc716f2df34c01d3c60d (patch)
treec4e843171de06184fd37bc3aa055b0301946f6e5
parente3e2e8775f5509ce2bb60dedb28347b29404fd47 (diff)
downloadmate-panel-bdee659c5338a846c941dc716f2df34c01d3c60d.tar.bz2
mate-panel-bdee659c5338a846c941dc716f2df34c01d3c60d.tar.xz
Forces a window scale of 1 for the panel, instead of using the default or user configured scale. Closes #621
-rw-r--r--mate-panel/main.c3
1 files changed, 3 insertions, 0 deletions
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);