Skip to content

Commit

Permalink
Don't register as compositor manager in debug mode
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
  • Loading branch information
yshui committed Jul 7, 2019
1 parent 3cd61c9 commit 4a0092c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compton.c
Original file line number Diff line number Diff line change
Expand Up @@ -1834,7 +1834,7 @@ static session_t *session_init(int argc, char **argv, Display *dpy,
rebuild_screen_reg(ps);

// Create registration window
if (!ps->reg_win && !register_cm(ps)) {
if (!ps->o.debug_mode && !register_cm(ps)) {
exit(1);
}

Expand Down

0 comments on commit 4a0092c

Please sign in to comment.