// _NET_WM_STATE get func WmStateGet(xu *xgbutil.XUtil, win xproto.Window) ([]string, error) { raw, err := xprop.GetProperty(xu, win, "_NET_WM_STATE") return xprop.PropValAtoms(xu, raw, err) }
// _NET_WM_ALLOWED_ACTIONS get func WmAllowedActionsGet(xu *xgbutil.XUtil, win xproto.Window) ([]string, error) { raw, err := xprop.GetProperty(xu, win, "_NET_WM_ALLOWED_ACTIONS") return xprop.PropValAtoms(xu, raw, err) }
// _NET_WM_WINDOW_TYPE get func WmWindowTypeGet(xu *xgbutil.XUtil, win xproto.Window) ([]string, error) { raw, err := xprop.GetProperty(xu, win, "_NET_WM_WINDOW_TYPE") return xprop.PropValAtoms(xu, raw, err) }
// _NET_SUPPORTED get func SupportedGet(xu *xgbutil.XUtil) ([]string, error) { reply, err := xprop.GetProperty(xu, xu.RootWin(), "_NET_SUPPORTED") return xprop.PropValAtoms(xu, reply, err) }
// WM_PROTOCOLS get func WmProtocolsGet(xu *xgbutil.XUtil, win xproto.Window) ([]string, error) { raw, err := xprop.GetProperty(xu, win, "WM_PROTOCOLS") return xprop.PropValAtoms(xu, raw, err) }