Added some logging to try and figure out what's going on.

This commit is contained in:
Storm Dragon 2025-04-18 14:42:02 -04:00
parent 9790a8d494
commit 80212d616f
2 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,7 @@ class APIHelper:
if grab_ids:
binding._grab_ids = grab_ids
logger.info(f"Created binding: {binding.keysymstring} with modifiers {binding.modifiers}")
return binding
return None

View File

@ -470,6 +470,8 @@ class KeyBindings:
given keycode and modifiers, or None if no match exists.
"""
logger.info(f"Looking for handler for key: {keyboardEvent.hw_code} with modifiers {keyboardEvent.modifiers}")
return binding
matches = []
candidates = []
clickCount = keyboardEvent.getClickCount()