iberianpig / fusuma

Multitouch gestures with libinput driver on Linux
MIT License
3.67k stars 149 forks source link

fix: call block with plugin_default_context #311

Closed iberianpig closed 1 year ago

iberianpig commented 1 year ago

I introduced plugin_defaults as an internal function for setting default values for fusuma plugins, but the search logic contained a bug. fusuma-plugin-sendkey uses plugin_defaults to set the default value of device_names. ref: https://github.com/iberianpig/fusuma-plugin-sendkey/issues/33

---
plugin:
executors:
 sendkey_executor:
   device_name: keyboard|Keyboard|KEYBOARD

Before the fix, the block was not evaluated when the context was a complete match, so the plugin could not get the default value.