ydotool icon indicating copy to clipboard operation
ydotool copied to clipboard

[KDE] [(x)Wayland] [ArchLinux] [MultiMonitor] Generally confusing behavior with the "click" command

Open TheoCGaming opened this issue 1 year ago • 3 comments

Steps to reproduce:

  1. Compile latest ydotool from source
  2. sudo ydotoold
  3. sudo ydotool click 0xC0 On certain positions on the screen, the mouse may not click.

TheoCGaming avatar Mar 12 '23 04:03 TheoCGaming

Interestingly, it only happens in certain programs. My browser is fine for example, but Minecraft Java with the Fabulously Optimized modpack ignores some of the clicks.

TheoCGaming avatar Mar 12 '23 04:03 TheoCGaming

now it's working????? what the hell-

TheoCGaming avatar Mar 12 '23 04:03 TheoCGaming

so it only screws up in the scripts I make.

#!/bin/sh

ydotool mousemove -x -3200 -y -2100 ; sleep 2
ydotool mousemove -x 703 -y 569 ; sleep 2
ydotool click 0xC0 ; sleep 2
ydotool mousemove -x -2100 -y -2100 ; sleep 2
ydotool mousemove -x 772 -y 563 ; sleep 2
ydotool click 0xC0 ; sleep 2
ydotool mousemove -x -2100 -y -2100 ; sleep 2
ydotool mousemove -x 706 -y 498 ; sleep 2
ydotool click 0xC0 ; sleep 2

did I screw something up or is this actually a bug

TheoCGaming avatar Mar 12 '23 04:03 TheoCGaming