From c2b99768e9bdaa4b1ef5ac8ca77080ea690b57b4 Mon Sep 17 00:00:00 2001 From: Dominik Bendle Date: Tue, 22 Jan 2019 21:00:01 +0100 Subject: Allow setting both background image and colour The -c/--color option no longer sets BACKGROUND_MODE_SOLID_COLOR (which disables the background image) and the background color is now set in all cases. One can still use --scaling solid_color to disable display of a background image. As a consequence, there is now only one possible default background colour (white), regardless of whether a background image is given or not. --- main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 60f1a96..488d46f 100644 --- a/main.c +++ b/main.c @@ -658,7 +658,6 @@ static int parse_options(int argc, char **argv, struct swaylock_state *state, case 'c': if (state) { state->args.colors.background = parse_color(optarg); - state->args.mode = BACKGROUND_MODE_SOLID_COLOR; } break; case 'd': -- cgit v1.2.3