code: func MoveresizeWindowExtra(xu *xgbutil.XUtil, win xproto.Window, x, y, w, h,
  	gravity, source int, usex, usey bool) error {
  
  	flags := gravity
  	flags |= source << 12
  	if usex {
  		flags |= 1 << 8
  	}
  	if usey {
  		flags |= 1 << 9
  	}
  	if w > 0 {
  		flags |= 1 << 10
  	}
  	if h > 0 {
  		flags |= 1 << 11
  	}
  
  	return ClientEvent(xu, win, "_NET_MOVERESIZE_WINDOW", flags, x, y, w, h)
  }
docs: // _NET_MOVERESIZE_WINDOW req extra
  // If 'w' or 'h' are 0, then they are not sent.
  // To not set 'x' or 'y', 'usex' or 'usey' need to be set to false.