11/*
2- * Copyright 2021 elementary, Inc (https://elementary.io)
2+ * Copyright 2021-2025 elementary, Inc (https://elementary.io)
33 * 2021 José Expósito <[email protected] > 44 *
55 * This program is free software: you can redistribute it and/or modify
@@ -21,12 +21,11 @@ public class Gala.HotCornerManager : Object {
2121
2222 public WindowManager wm { get ; construct; }
2323 public GLib . Settings behavior_settings { get ; construct; }
24- public GLib . Settings new_behavior_settings { get ; construct; }
2524
2625 private GLib . GenericArray<HotCorner > hot_corners;
2726
28- public HotCornerManager (WindowManager wm , GLib .Settings behavior_settings , GLib . Settings new_behavior_settings ) {
29- Object (wm: wm, behavior_settings: behavior_settings, new_behavior_settings : new_behavior_settings );
27+ public HotCornerManager (WindowManager wm , GLib .Settings behavior_settings ) {
28+ Object (wm: wm, behavior_settings: behavior_settings);
3029
3130 hot_corners = new GLib .GenericArray<HotCorner > ();
3231 behavior_settings. changed. connect (configure);
@@ -74,7 +73,7 @@ public class Gala.HotCornerManager : Object {
7473 hot_corner. trigger. connect (() = > {
7574 if (
7675 display. get_monitor_in_fullscreen (display. get_primary_monitor ()) &&
77- ! new_behavior_settings . get_boolean (" enable-hotcorners-in-fullscreen" )
76+ ! behavior_settings . get_boolean (" enable-hotcorners-in-fullscreen" )
7877 ) {
7978 return ;
8079 }
0 commit comments