<div dir="ltr">hi<br><br>X automatically does pointer grab when the mouse drags (i.e. press and hold the mouse button while moving it).<br>It is possible to override the auto grab settings (i.e owner_events, etc) with a passive grab (e.g. XGrabButton)<br>
<br>what if:<br><br>1. the user presses mouse button 1 (and holds it down)<br>2. the use moves the mouse<br>3. the application calles XUngrabPointer -> will it ungrab ?<br>or..<br>3. the application calles XGrabPointer (withough XUngrabPointer first) -> will it regrab ?<br>
<br>thanks,<br>erez.<br></div>