Skip to content

Commit

Permalink
[eoyilmaz#16] Fixed `DisplayCAL.RealDisplaySizeMM.Display.get_dispwin…
Browse files Browse the repository at this point in the history
…_output()` for Windows.
  • Loading branch information
eoyilmaz authored and Adam-Color committed Dec 2, 2024
1 parent 6e78452 commit 810f8e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DisplayCAL/RealDisplaySizeMM.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ def get_dispwin_output() -> bytes:
return b""

if sys.platform == "win32":
startupinfo = sp.STARTUPINFO()
startupinfo.dwFlags |= sp.STARTF_USESHOWWINDOW
startupinfo.wShowWindow = sp.SW_HIDE
startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
startupinfo.wShowWindow = subprocess.SW_HIDE
else:
startupinfo = None

Expand Down

0 comments on commit 810f8e5

Please sign in to comment.