fix: restore positive resize increments when clearing aspect lock

This commit is contained in:
2026-10-18 02:11:16 +02:00
parent 3e782aff31
commit dd02383c0b
5 changed files with 23 additions and 7 deletions
+1
View File
@@ -298,6 +298,7 @@ def check_cli_instances(root, app, fixtures):
"queue preserves video size and mouse target", action="queue", visible=True)
window = opened[first_pid]["window"]
if (not window["resizable"] or window["aspectWidth"] != 0 or window["aspectHeight"] != 0
or window["resizeIncrementWidth"] <= 0 or window["resizeIncrementHeight"] <= 0
or window["minWidth"] > 660 or window["minHeight"] > 300
or window["maxWidth"] <= window["width"] + 80
or window["maxHeight"] <= window["height"] + 80