projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
916b58f
)
check for no screens before asserting
author
Dana Jansens
<danakj@orodu.net>
Mon, 17 Feb 2003 19:17:17 +0000
(19:17 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 17 Feb 2003 19:17:17 +0000
(19:17 +0000)
src/openbox.cc
patch
|
blob
|
history
diff --git
a/src/openbox.cc
b/src/openbox.cc
index
57745d6
..
60db5d8
100644
(file)
--- a/
src/openbox.cc
+++ b/
src/openbox.cc
@@
-153,13
+153,13
@@
Openbox::Openbox(int argc, char **argv)
}
}
- 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();
// run the user's script or the system defaults if that fails