iberianpig / fusuma

Multitouch gestures with libinput driver on Linux
MIT License
3.58k stars 146 forks source link

fix: call block with plugin_default_context #311

Closed iberianpig closed 9 months ago

iberianpig commented 9 months 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.