wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

Extend Hotspot Functionality to Support Button Presses

Open KeyofBlueS opened this issue 7 months ago • 3 comments

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!

KeyofBlueS avatar May 13 '25 22:05 KeyofBlueS

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?

AgostinoA avatar Jul 19 '25 08:07 AgostinoA

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 avatar Jul 19 '25 08:07 ammen99

@ammen99 Ah ok perfect, I had not paid attention.

AgostinoA avatar Jul 21 '25 07:07 AgostinoA