Don't register as compositor manager in debug mode
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
3cd61c9281
commit
4a0092c808
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue