code: func WmHintsGet(xu *xgbutil.XUtil,
  	win xproto.Window) (hints *Hints, err error) {
  
  	lenExpect := 9
  	raw, err := xprop.PropValNums(xprop.GetProperty(xu, win, "WM_HINTS"))
  	if err != nil {
  		return nil, err
  	}
  	if len(raw) != lenExpect {
  		return nil,
  			fmt.Errorf("WmHints: There are %d fields in "+
  				"WM_HINTS, but xgbutil expects %d.", len(raw), lenExpect)
  	}
  
  	hints = &Hints{}
  	hints.Flags = raw[0]
  	hints.Input = raw[1]
  	hints.InitialState = raw[2]
  	hints.IconPixmap = xproto.Pixmap(raw[3])
  	hints.IconWindow = xproto.Window(raw[4])
  	hints.IconX = int(raw[5])
  	hints.IconY = int(raw[6])
  	hints.IconMask = xproto.Pixmap(raw[7])
  	hints.WindowGroup = xproto.Window(raw[8])
  
  	return hints, nil
  }
docs: // WM_HINTS get