diff options
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r-- | src/arctica-greeter.vala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index aa45327..e7a049d 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -1199,6 +1199,9 @@ public class ArcticaGreeter : Object debug ("Could not set DBUS_NAME: %s", e.message); } + var gsettings_mate_desktop_interface = new Settings ("org.mate.interface"); + int wsf_orig = gsettings_mate_desktop_interface.get_int ("window-scaling-factor"); + gsettings_mate_desktop_interface.set_int ("window-scaling-factor", 1); bool do_show_version = false; bool do_test_mode = false; @@ -1513,6 +1516,8 @@ public class ArcticaGreeter : Object } } + gsettings_mate_desktop_interface.set_int ("window-scaling-factor", wsf_orig); + var screen = Gdk.Screen.get_default (); Gdk.X11.Display pDisplay = (Gdk.X11.Display) screen.get_display (); unowned X.Display xdisplay = pDisplay.get_xdisplay (); |