Open T-a-w-a-l opened 2 years ago
What is your full cmd ? Environment is "Ubuntu 18.04.6 LTS, xdotool 3.20211022.1" My cmd is "xdotool mousedown 4",it's worked in cmd,but "xdotool mouse --window 0x07c000f9 4" is not work.I don't know why. I refer to source code "cmd_mousedown.c" ,It judges "clear_modifiers" and use function "xdo_mouse_down" ,so write a demo ''' //gcc test.c -lxdo -o test
int main() { xdo_t *xdo = xdo_new(NULL); if(!xd0) return -1; int ret0 = xdo_mouse_down(xdo,0x07c000f9,4); usleep(12); int ret1 = xdo_mouse_up(xdo,0x07c000f9,4); printf("%d,%d",ret0,ret1); if(xdo) free(xdo); return 0; } ''' It prints value is "0,0",but not effect.
Hello,
I have an issue with the command 'mouse-click'. It don't work ! I'm on Debian 11 Bullseye, using xdotool version 3.20160805.1
Also, i use the command 'mouse-enter' which work fine. The same xdotool command with 'mouse-click' don't work no more !
This "bug" is known since several years, but i never find a response to solve this problem. Can you tell me more about that ?
Regards, Tawal.