Cloudef / bemenu

Dynamic menu library and client program inspired by dmenu
GNU General Public License v3.0
1.16k stars 90 forks source link

Floating menu? #395

Open tmpm697 opened 3 months ago

tmpm697 commented 3 months ago

I like this app on macos to manage clipboard: https://maccy.app/

it has floating window appears right under cursor for user to select clipboard.

in most case we might want a fix top/bottom to select clipboard but i find clipboard menu appears under cursor helps a lot to quick select and paste text.

can this app make this behavior happens?

Cloudef commented 3 months ago

This could only be possible under X11, as for now bemenu does not have floating windows near cursor

tmpm697 commented 3 months ago

This could only be possible under X11, as for now bemenu does not have floating windows near cursor

would love to have this, what wayland prevent it to be a real stuff?

Cloudef commented 3 months ago

Wayland would require custom protocol for this use-case and for it to be implemented by compositors. Might be possible to hack it with transparent full screen surface and subsurface for the menu perhaps.

tmpm697 commented 3 months ago

possible to hack it with transparent full screen surface and subsurface for the menu perhaps.

sound like a bad idea, fake transparent and other thing can probably give some surprising stuffs.

hope someone will step in to extend wayland protocol for this to be real :)