all repos — openbox @ 05a8e51f177b1d0215bcd8c4b6f7b65e7ba7d3ed

openbox fork - make it a bit more like ryudo

add comments
Dana Jansens danakj@orodu.net
commit

05a8e51f177b1d0215bcd8c4b6f7b65e7ba7d3ed

parent

88a4e59f44d077bae57e4c2be762c88d3141ed36

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

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

@@ -152,10 +152,12 @@ _focused_screen = 0;

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);