Xlib pointer grab feature and EditBox usage of it