diff options
author | GhostNaN <GhostNaN@protonmail.com> | 2023-11-19 23:36:15 -0500 |
---|---|---|
committer | GhostNaN <GhostNaN@protonmail.com> | 2023-11-19 23:36:15 -0500 |
commit | b677779fcbb5d662a3cc1f180f7099776e49d5fd (patch) | |
tree | 51293607bec78ebd9d3e4a732da0cb2c8d61f54b | |
parent | 8678234c163d0b0b616ec9ff6e5e0e1c87e0e6f4 (diff) |
Allow specifying multiple outputs
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -711,7 +711,7 @@ static void output_done(void *data, struct wl_output *wl_output) { struct display_output *output = data; - bool name_ok = (strcmp(output->name, output->state->monitor) == 0) || (strcmp(output->state->monitor, "*") == 0); + bool name_ok = (strstr(output->state->monitor, output->name) != NULL) || (strcmp(output->state->monitor, "*") == 0); if (name_ok && !output->layer_surface) { if (VERBOSE) cflp_info("Output %s (%s) selected", output->name, output->identifier); |