mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
Update for swaywm/wlroots#1126
This commit is contained in:
parent
ebcdce457a
commit
63b4bf5000
85 changed files with 391 additions and 385 deletions
|
|
@ -48,7 +48,7 @@ struct swaybg_state {
|
|||
bool is_valid_color(const char *color) {
|
||||
int len = strlen(color);
|
||||
if (len != 7 || color[0] != '#') {
|
||||
wlr_log(L_ERROR, "%s is not a valid color for swaybg. "
|
||||
wlr_log(WLR_ERROR, "%s is not a valid color for swaybg. "
|
||||
"Color should be specified as #rrggbb (no alpha).", color);
|
||||
return false;
|
||||
}
|
||||
|
|
@ -185,10 +185,10 @@ int main(int argc, const char **argv) {
|
|||
struct swaybg_args args = {0};
|
||||
struct swaybg_state state = {0};
|
||||
state.args = &args;
|
||||
wlr_log_init(L_DEBUG, NULL);
|
||||
wlr_log_init(WLR_DEBUG, NULL);
|
||||
|
||||
if (argc != 4) {
|
||||
wlr_log(L_ERROR, "Do not run this program manually. "
|
||||
wlr_log(WLR_ERROR, "Do not run this program manually. "
|
||||
"See man 5 sway and look for output options.");
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue