Don't register as compositor manager in debug mode

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-07-07 17:25:26 +01:00
parent 3cd61c9281
commit 4a0092c808
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}