From: Dana Jansens Date: Mon, 3 Feb 2003 08:40:47 +0000 (+0000) Subject: add comments X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=05a8e51f177b1d0215bcd8c4b6f7b65e7ba7d3ed;p=chaz%2Fopenbox add comments --- diff --git a/src/openbox.cc b/src/openbox.cc index caacb63b..727b403e 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -152,10 +152,12 @@ Openbox::Openbox(int argc, char **argv) for (int i = 0, max = ScreenCount(**otk::display); i < max; ++i) { Screen *screen; + // in single mode skip the screens we don't want to manage if (_single && i != DefaultScreen(**otk::display)) { _screens.push_back(0); continue; } + // try manage the screen screen = new Screen(i); if (screen->managed()) { _screens.push_back(screen);