Minor fixes
This commit is contained in:
parent
3ba614b59b
commit
3822f09185
2
.gitignore
vendored
2
.gitignore
vendored
@ -16,5 +16,3 @@ vgcore.*
|
||||
/dunst.systemd.service
|
||||
/org.knopwob.dunst.service
|
||||
/test/test
|
||||
|
||||
# /src/wayland/protocols/*.h
|
||||
|
1
Makefile
1
Makefile
@ -35,6 +35,7 @@ endif
|
||||
|
||||
ifneq (0,${WAYLAND})
|
||||
DATA_DIR_WAYLAND_PROTOCOLS ?= $(shell $(PKG_CONFIG) wayland-protocols --variable=pkgdatadir)
|
||||
DATA_DIR_WAYLAND_PROTOCOLS := ${DATA_DIR_WAYLAND_PROTOCOLS}
|
||||
ifeq (,${DATA_DIR_WAYLAND_PROTOCOLS})
|
||||
$(warning "Failed to query $(PKG_CONFIG) for package 'wayland-protocols'!")
|
||||
endif
|
||||
|
@ -78,7 +78,6 @@ static gboolean run(void *data)
|
||||
draw();
|
||||
output->win_show(win);
|
||||
} else {
|
||||
LOG_I("Calling win_hide");
|
||||
output->win_hide(win);
|
||||
}
|
||||
|
||||
|
@ -194,8 +194,8 @@ bool string_parse_layer(const char *s, enum zwlr_layer_shell_v1_layer *ret)
|
||||
ASSERT_OR_RET(STR_FULL(s), false);
|
||||
ASSERT_OR_RET(ret, false);
|
||||
|
||||
STRING_PARSE_RET("bottom", ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM);
|
||||
STRING_PARSE_RET("top", ZWLR_LAYER_SHELL_V1_LAYER_TOP);
|
||||
STRING_PARSE_RET("bottom", ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM);
|
||||
STRING_PARSE_RET("top", ZWLR_LAYER_SHELL_V1_LAYER_TOP);
|
||||
STRING_PARSE_RET("overlay", ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY);
|
||||
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user