all repos — openbox @ e44c0cba4b56fe1b649ca03d40f1d33c6cf4fd43

openbox fork - make it a bit more like ryudo

set the desktop number before the number of desktops
Dana Jansens danakj@orodu.net
commit

e44c0cba4b56fe1b649ca03d40f1d33c6cf4fd43

parent

9f8253a0a8d1b5cd34f6f14c8081d495c0e12ba1

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

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

@@ -110,11 +110,12 @@ otk::Property::utf8, names);

// the above set() will cause the updateDesktopNames to fire right away so // we have a list of desktop names + _desktop = 0; + if (!python_get_long("number_of_desktops", &_num_desktops)) _num_desktops = 1; changeNumDesktops(_num_desktops); // set the hint - _desktop = 0; changeDesktop(0); // set the hint // create the window which gets focus when no clients get it