Sample Header Ad - 728x90

X11 multi-pointer, pointer conflicts

3 votes
1 answer
1231 views
In an attempt to continue using my PC whilst automating a GUI application, I have created 2 pointers on my machine using xinput, one being controlled by me, the other by pyautogui. on my system this is done by: xinput create-master mynewpointer xinput reattach 10 11 I use master pointer 11 pyautogui uses default pointer 2 However the pointers conflict with each other in various ways, snatching focus from each other being one of the major problems. Even using xinput --map-to-output or --set-cp does not work, the pointer still "flicks" back from the window/monitor being tested when my pointer grabs focus on a new window. Is there anyway to seperate these pointers?
Asked by keda (82 rep)
May 18, 2016, 11:22 PM
Last activity: Jul 7, 2019, 03:07 PM