summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-08-02 13:21:38 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-08-02 13:21:38 +0200
commit5c50fac907df3463492a019f01f84d547ab93650 (patch)
tree0426518b0549a46f9ad1b9d02445f4e513bc77cd /src/Window.hpp
parent51cda87fe47efec25265b3b9f6bebf9a0882aa08 (diff)
windowrules: add workspace param
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index 3ef33414..bdd079de 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -10,7 +10,8 @@
#include "helpers/Vector2D.hpp"
#include "helpers/WLSurface.hpp"
-enum eIdleInhibitMode {
+enum eIdleInhibitMode
+{
IDLEINHIBIT_NONE = 0,
IDLEINHIBIT_ALWAYS,
IDLEINHIBIT_FULLSCREEN,
@@ -135,6 +136,7 @@ struct SWindowRule {
int bFloating = -1;
int bFullscreen = -1;
int bPinned = -1;
+ std::string szWorkspace = ""; // empty means any
};
class CWindow {