Skip to content

Commit

Permalink
Merge b37d66b into 177be51
Browse files Browse the repository at this point in the history
  • Loading branch information
maffe committed Aug 13, 2020
2 parents 177be51 + b37d66b commit 1fa3b5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/System/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def GetDeviceId_(*args, **kwargs):
def MonitorState(state):
if state == 'ON':
ctypes.windll.user32.mouse_event(MOUSEEVENTF_MOVE, 0, 1, 0, 0)
ctypes.windll.user32.mouse_event(MOUSEEVENTF_MOVE, 0, -1, 0, 0)
else:
win32gui.SendMessage(
win32con.HWND_BROADCAST,
Expand Down

0 comments on commit 1fa3b5e

Please sign in to comment.