fix: fix for merge

This commit is contained in:
DreamMaoMao 2025-07-12 10:44:05 +08:00
parent 0fbb788e45
commit 09d33d4412

View file

@ -367,7 +367,6 @@ typedef struct {
struct dwl_animation animation; struct dwl_animation animation;
bool dirty; bool dirty;
int noanim; int noanim;
int noshadow;
char *animation_type_open; char *animation_type_open;
char *animation_type_close; char *animation_type_close;
bool need_output_flush; bool need_output_flush;
@ -2493,9 +2492,6 @@ void maplayersurfacenotify(struct wl_listener *listener, void *data) {
if (config.layer_rules[ji].noanim > 0) { if (config.layer_rules[ji].noanim > 0) {
l->noanim = 1; l->noanim = 1;
} }
if (config.layer_rules[ji].noshadow > 0) {
l->noshadow = 1;
}
if (config.layer_rules[ji].animation_type_open) { if (config.layer_rules[ji].animation_type_open) {
l->animation_type_open = l->animation_type_open =
config.layer_rules[ji].animation_type_open; config.layer_rules[ji].animation_type_open;