about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--source.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/source.lua b/source.lua
index 611cc05..a259494 100644
--- a/source.lua
+++ b/source.lua
@@ -334,7 +334,9 @@ function source.keychord_pressed(chord, key)
 --?     print('done setting window')
     -- try to restore position if possible
     -- if the window gets wider the window manager may not respect this
-    source.set_window_position_from_settings(Settings.source)
+    if not App.run_tests then
+      source.set_window_position_from_settings(Settings.source)
+    end
     return
   end
   if chord == 'C-g' then