Skip to content

Commit

Permalink
#79 fixed doing grab without ungrab for oenabled_touchpad_pointer dif…
Browse files Browse the repository at this point in the history
…ferent to 1
  • Loading branch information
ldrahnik committed Feb 12, 2023
1 parent 365be73 commit 99bde5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion asus_touchpad.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,8 @@ def pressed_numpad_key():
]

try:
grab_current_slot()
if enabled_touchpad_pointer == 1:
grab_current_slot()
udev.send_events(events)
except OSError as e:
log.warning("Cannot send press event, %s", e)
Expand Down

0 comments on commit 99bde5b

Please sign in to comment.