Skip to content

Commit

Permalink
mss.iwndows.CAPTUREBLT = 0
Browse files Browse the repository at this point in the history
  • Loading branch information
abrichr committed Apr 19, 2024
1 parent 566d626 commit 301b9f6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions openadapt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
import numpy as np
import orjson

try:
import mss.windows
# fix cursor flicker on windows; see:
# https://github.com/BoboTiG/python-mss/issues/179#issuecomment-673292002
mss.windows.CAPTUREBLT = 0
except Exception as exc:
pass



from openadapt import common, config
from openadapt.db import db
from openadapt.logging import filter_log_messages
Expand Down

0 comments on commit 301b9f6

Please sign in to comment.