Floating rules are now isolated between workspaces

This commit is contained in:
2025-06-11 11:48:31 +02:00
parent d9d2a74f02
commit b400cb539f
8 changed files with 176 additions and 16 deletions

20
include/WindowRule.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef WINDOW_RULE_H
#define WINDOW_RULE_H
#include <string>
class WindowRule {
public:
//true -> tiling mode
//false -> floating mode
bool tile;
//Which workspace to apply to
int workspaceID;
std::string toString();
static WindowRule parse(std::string);
};
#endif