sway: include floating_con windows in workspace mapping

This commit is contained in:
Mathew-D
2026-03-06 19:50:46 -05:00
parent f75fce63e9
commit dcf8c3846e
+2 -2
View File
@@ -103,8 +103,8 @@ Item {
}
}
// If this is a container with app_id or class (i.e., a window)
if (node.type === "con" && (node.app_id || node.window_properties)) {
// If this is a regular or floating container with app_id/class (i.e., a window)
if ((node.type === "con" || node.type === "floating_con") && (node.app_id || node.window_properties)) {
const appId = node.app_id || (node.window_properties ? node.window_properties.class : null);
const title = node.name || "";
const id = node.id;