code: func Detach(xu *xgbutil.XUtil, win xproto.Window) {
  	detach(xu, xevent.ButtonPress, win)
  	detach(xu, xevent.ButtonRelease, win)
  }
docs: // Detach removes all handlers for all mouse events for the provided window id.
  // This should be called whenever a window is no longer receiving events to make
  // sure the garbage collector can release memory used to store the handler info.