openbox icon indicating copy to clipboard operation
openbox copied to clipboard

Fix collision between iterator and throw-away argument to XQueryPointer()

Open AlexGoinsNV opened this issue 4 years ago • 2 comments

Without this, Openbox is unstable on any setup with more than 2 X screens, as the collision can make the loop infinitely call XQueryPointer() on X screen 1.

AlexGoinsNV avatar Feb 26 '21 23:02 AlexGoinsNV

@danakj , Can we please get this change merged. This will improve the multi X-screen support on openbox

ankit096 avatar Mar 09 '21 22:03 ankit096

The crux of this issue is that if the cursor goes onto an X screen >= 2 (the third X screen), Openbox will freeze and X will begin consuming 100% CPU as a result of Openbox being stuck in a loop repeatedly calling XQueryPointer()

ankit096 avatar Mar 12 '21 06:03 ankit096