mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
sway: include floating_con windows in workspace mapping
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user