about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-09-17 16:42:25 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-09-17 16:42:25 -0700
commitcb261f56b2e6cad297921a4d4457c0fbf2d78103 (patch)
tree203d4245a2612cdb51005fa69b7f396d5c65d876
parent2a36ce3c060d4b6ee634421f2a792f450b910ad4 (diff)
parent0cc8c706ffc4da107df402e3eac977aefb75f6dc (diff)
downloadview.love-cb261f56b2e6cad297921a4d4457c0fbf2d78103.tar.gz
Merge lines.love
-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