Closed semka95 closed 3 years ago
Looks like slurp is getting the mouse event immediately when it starts, not sure if we can do anything for that from rofi.
As a work-around you can add sleep 0.1
in you script after the CHOICE
assignment.
Yeah, adding sleep fixes problem, thank you. Looks like it's not rofi problem.
Version
Version: 1.6.1-wayland
Configuration
gist
Launch Command
rofi -dmenu -p "How to make a screenshot?" << EOF Screenshot Fullscreen Screenshot Focused Screenshot Selected Window Screenshot Selected Output Screenshot Region Record Focused Record Selected Window Record Selected Output Record Region Screenshare EOF
link to full script
Steps to reproduce
What behaviour you see
I can't choose output/window, when I double click on menu item (for example "Screenshot Selected Window"), looks like it registers my double click as I'm choose window. Everything works fine when I'm using keyboard. Watch video if you don't understand.
What behaviour you expect to see
Not register click after clicking menu option.
Additional details:
https://user-images.githubusercontent.com/4162760/103455225-6bdc4780-4cfc-11eb-8f25-262633b80ebe.mp4