Added some logging to try and figure out what's going on.
This commit is contained in:
parent
9790a8d494
commit
80212d616f
src/cthulhu
@ -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
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user