all repos — openbox @ 3240c1d94ea952b6a4b14ab234d5fd7a906b3dc2

openbox fork - make it a bit more like ryudo

check for no screens before asserting
Dana Jansens danakj@orodu.net
commit

3240c1d94ea952b6a4b14ab234d5fd7a906b3dc2

parent

916b58f99c332f4710574bf7726aba344943c73f

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/openbox.ccsrc/openbox.cc

@@ -153,12 +153,12 @@ _screens.push_back(0);

} } - assert(_focused_screen); - if (_screens.empty()) { printf(_("No screens were found without a window manager. Exiting.\n")); ::exit(1); } + + assert(_focused_screen); ScreenList::iterator it, end = _screens.end();