summaryrefslogtreecommitdiff
path: root/types/fx/shadow_data.c
diff options
context:
space:
mode:
authorWilliam McKinnon <[email protected]>2024-04-15 01:32:22 -0400
committerGitHub <[email protected]>2024-04-15 01:32:22 -0400
commite1f4bc5996b1c77c7fa8536b7c03d9eb4140227d (patch)
tree3fa8045ca37131acc96c88cec4a2f920de6113fb /types/fx/shadow_data.c
parent7e723f983b074e62e676caffe21cd5527b524587 (diff)
feat: add functions required by SwayFX (#35)
Diffstat (limited to 'types/fx/shadow_data.c')
-rw-r--r--types/fx/shadow_data.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/types/fx/shadow_data.c b/types/fx/shadow_data.c
index a8ad8f9..d74cadc 100644
--- a/types/fx/shadow_data.c
+++ b/types/fx/shadow_data.c
@@ -1,14 +1,12 @@
-#include <assert.h>
-#include <stdlib.h>
-#include <string.h>
#include "scenefx/types/fx/shadow_data.h"
-#include "wlr/util/log.h"
struct shadow_data shadow_data_get_default(void) {
return (struct shadow_data) {
.blur_sigma = 20,
.color = {0.0f, 0.0f, 0.0f, 0.5f},
.enabled = false,
+ .offset_x = 0.0f,
+ .offset_y = 0.0f,
};
}