diff options
author | John Ankarström <john@ankarstrom.se> | 2020-10-23 01:27:46 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-10-23 01:27:46 +0200 |
commit | a4a24bc0622d36529dfb41ee73496a9de119b859 (patch) | |
tree | 5394254cacc15ff85a6a2a3478e71bea5d7e9055 /drm.ahk | |
parent | 22ad84e906461725d55d79f33b3b768178cbdf31 (diff) | |
download | drm-a4a24bc0622d36529dfb41ee73496a9de119b859.tar.gz |
release 1.4.2
Diffstat (limited to 'drm.ahk')
-rw-r--r-- | drm.ahk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -182,11 +182,17 @@ Save(ByRef Positions) WinReallyGetPos(i, x, y, w, h) WinGet, exe, ProcessName, ahk_id %i% + WinGet, style, Style, ahk_id %i% SysGet, bx, 32 ; window border thickness (x) SysGet, by, 33 ; window border thickness (y) cw := w - bx * 2 ; client width ch := h - by * 2 ; client height + ; Ignore size for windows that cannot be resized + + if (style & 0x40000 = 0) ; WS_SIZEBOX + DoIgnoreSize := true + ; Custom rules ; Example: |