aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorallusive-dev <[email protected]>2023-11-03 09:59:00 +1100
committerallusive-dev <[email protected]>2023-11-03 09:59:00 +1100
commitb072635252b2d1d1ebac50d38bfcd8f0c6cdc36e (patch)
tree2d72dc27730f3e8407f3a83e95631c20f1279584 /src/config.h
parentMerge pull request #22 from IogaMaster/flake (diff)
downloadcompfy-b072635252b2d1d1ebac50d38bfcd8f0c6cdc36e.tar.xz
compfy-b072635252b2d1d1ebac50d38bfcd8f0c6cdc36e.zip
Added wm-support and re-arranged patches. This update will also make changes to the nixos package
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index e495d6e..e9f4172 100644
--- a/src/config.h
+++ b/src/config.h
@@ -54,6 +54,12 @@ enum open_window_animation {
OPEN_WINDOW_ANIMATION_INVALID,
};
+enum wm_support {
+ WM_SUPPORT_NONE = 0,
+ WM_SUPPORT_AWESOME,
+ WM_SUPPORT_INVALID,
+};
+
typedef struct win_option_mask {
bool shadow : 1;
bool fade : 1;
@@ -221,6 +227,9 @@ typedef struct options {
/// Whether to clamp animations
bool animation_clamping;
+ // Wm Support
+ enum wm_support support_for_wm;
+
// === Opacity ===
/// Default opacity for inactive windows.
/// 32-bit integer with the format of _NET_WM_WINDOW_OPACITY.
@@ -328,6 +337,7 @@ char *must_use locate_auxiliary_file(const char *scope, const char *path,
const char *include_dir);
enum blur_method must_use parse_blur_method(const char *src);
enum open_window_animation must_use parse_open_window_animation(const char *src);
+enum wm_support must_use parse_wm_support(const char *src);
/**
* Add a pattern to a condition linked list.