diff options
| author | Connor E <38229097+c-edw@users.noreply.github.com> | 2018-10-19 16:38:01 +0100 |
|---|---|---|
| committer | Connor E <38229097+c-edw@users.noreply.github.com> | 2018-10-19 16:38:01 +0100 |
| commit | 5521293dc7b01d1b87c13f27a28359376d619631 (patch) | |
| tree | f949cf2413b0d73031caed9e72ce26c8bcfa958e | |
| parent | b239eba5a9def3a684cd83fec384831f7359af69 (diff) | |
Change initial background mode before arg parse.
| -rw-r--r-- | main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -385,7 +385,6 @@ static void load_image(char *arg, struct swaylock_state *state) { return; } wl_list_insert(&state->images, &image->link); - state->args.mode = BACKGROUND_MODE_FILL; wlr_log(WLR_DEBUG, "Loaded image %s for output %s", image->path, image->output_name ? image->output_name : "*"); } @@ -851,7 +850,7 @@ int main(int argc, char **argv) { enum line_mode line_mode = LM_LINE; state.args = (struct swaylock_args){ - .mode = BACKGROUND_MODE_SOLID_COLOR, + .mode = BACKGROUND_MODE_FILL, .font = strdup("sans-serif"), .radius = 50, .thickness = 10, |
