Extend Hotspot Functionality to Support Button Presses
Dear Wayfire developers,
I would like to suggest an enhancement to the existing hotspot feature in Wayfire.
Currently, hotspots can be activated only after the cursor remains in a defined area for a specified duration.
I propose allowing mouse or key presses to act as an alternative trigger mechanism. For example:
hotspot top-right 1x1 BTN_RIGHT
This would mean the hotspot is triggered when the right mouse button is pressed while the pointer is in that region (without requiring a timeout).
Additionally, it would be great to support hotspots along all four screen edges (top, bottom, left, and right), not just in the corners.
This functionality would also closely resemble the edge and corner actions available in Compiz.
Thank you for your time and for your excellent work on Wayfire!
Another very interesting feature would be the integration of exit events, which would be useful for applications that don't handle IPC events properly, such as panels and toolbars, to implement auto-hiding behavior. What do you think?
Another very interesting feature would be the integration of exit events, which would be useful for applications that don't handle IPC events properly, such as panels and toolbars, to implement auto-hiding behavior. What do you think?
We have a wayland protocol for this purpose: https://github.com/WayfireWM/wayfire/blob/2575105e3a1d61c46c98776d2db93eef3056c951/proto/wayfire-shell-unstable-v2.xml#L74
@ammen99 Ah ok perfect, I had not paid attention.