mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-24 02:24:14 -05:00
config/lua: make stable_id field a string, matching hyprctl (#15869)
This commit is contained in:
@@ -167,7 +167,7 @@ static int windowIndex(lua_State* L) {
|
||||
} else if (key == "content_type")
|
||||
lua_pushstring(L, NContentType::toString(w->getContentType()).c_str());
|
||||
else if (key == "stable_id")
|
||||
lua_pushinteger(L, sc<lua_Integer>(w->m_stableID));
|
||||
lua_pushstring(L, std::format("{:x}", w->m_stableID).c_str());
|
||||
else if (key == "layout") {
|
||||
const auto target = w->layoutTarget();
|
||||
if (!target || target->floating() || !w->m_workspace || !w->m_workspace->m_space) {
|
||||
|
||||
Reference in New Issue
Block a user