// UngrabPointer undoes GrabPointer.
func UngrabPointer(xu *xgbutil.XUtil) {
	xproto.UngrabPointer(xu.Conn(), 0)
}
Example #2
0
// Unlock restores user control of keyboard and pointer
func Unlock(X *xgb.Conn) {
	xproto.UngrabKeyboard(X, xproto.TimeCurrentTime)

	xproto.UngrabPointer(X, xproto.TimeCurrentTime)
}