/** Get an xproperty. * \param L The Lua VM state. * \return The number of elements pushed on stack. */ int luaA_get_xproperty(lua_State *L) { return window_get_xproperty(L, globalconf.screen->root, 1); }
/** Get the value of a xproperty. * * @param name The name of the X11 property * @function get_xproperty */ static int luaA_window_get_xproperty(lua_State *L) { window_t *w = luaA_checkudata(L, 1, &window_class); return window_get_xproperty(L, w->window, 2); }