Skip to content

Commit

Permalink
inspect: don't ask user to choose a backend
Browse files Browse the repository at this point in the history
We made the backend option mandatory for picom, but that also affected
picom-inspect, which doesn't make that much sense.

Signed-off-by: Yuxuan Shui <[email protected]>
  • Loading branch information
yshui committed Jun 19, 2024
1 parent 68cb383 commit c0a2797
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/inspect.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "inspect.h"

#include "atom.h"
#include "backend/backend.h"
#include "c2.h"
#include "common.h"
#include "config.h"
Expand Down Expand Up @@ -176,6 +177,7 @@ int inspect_main(int argc, char **argv, const char *config_file) {
}

// Parse all of the rest command line options
options.backend = backend_find("dummy");
if (!get_cfg(&options, argc, argv)) {
log_fatal("Failed to get configuration, usually mean you have specified "
"invalid options.");
Expand Down

0 comments on commit c0a2797

Please sign in to comment.