mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
fix "directive argument is null" errors
This commit is contained in:
parent
e28163249f
commit
f0eedfa8e0
|
@ -624,8 +624,8 @@ struct criteria *criteria_parse(char *raw, char **error_arg) {
|
|||
in_quotes = false;
|
||||
}
|
||||
unescape(value);
|
||||
sway_log(SWAY_DEBUG, "Found pair: %s=%s", name, value);
|
||||
}
|
||||
sway_log(SWAY_DEBUG, "Found pair: %s=%s", name, value);
|
||||
if (!parse_token(criteria, name, value)) {
|
||||
*error_arg = error;
|
||||
goto cleanup;
|
||||
|
|
|
@ -705,8 +705,7 @@ void seat_configure_xcursor(struct sway_seat *seat) {
|
|||
seat->cursor->xcursor_manager =
|
||||
wlr_xcursor_manager_create(cursor_theme, 24);
|
||||
if (sway_assert(seat->cursor->xcursor_manager,
|
||||
"Cannot create XCursor manager for theme %s",
|
||||
cursor_theme)) {
|
||||
"Cannot create XCursor manager for theme")) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue