From 05a8e51f177b1d0215bcd8c4b6f7b65e7ba7d3ed Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 3 Feb 2003 08:40:47 +0000 Subject: [PATCH] add comments --- src/openbox.cc | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.45.2