openbox
openbox copied to clipboard
Fix collision between iterator and throw-away argument to XQueryPointer()
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.
@danakj , Can we please get this change merged. This will improve the multi X-screen support on openbox
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()