aboutsummaryrefslogtreecommitdiff
path: root/src/greeter-list.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/greeter-list.vala')
-rw-r--r--src/greeter-list.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/greeter-list.vala b/src/greeter-list.vala
index 2ed347b..8158f9d 100644
--- a/src/greeter-list.vala
+++ b/src/greeter-list.vala
@@ -24,6 +24,8 @@
*/
private const int MAX_FIELD_SIZE = 200;
+public int _scale_factor = 1;
+
private int get_grid_offset (int size)
{
@@ -173,6 +175,8 @@ public abstract class GreeterList : FadableBox
can_focus = false;
visible_window = false;
+ _scale_factor = get_scale_factor ();
+
fixed = new Gtk.Fixed ();
fixed.show ();
add (fixed);