all repos — openbox @ 22b5d6458e3001a7bd930bf3491bf7fcd26ac3ce

openbox fork - make it a bit more like ryudo

initialize the net_showing_desktop hint
Dana Jansens danakj@orodu.net
commit

22b5d6458e3001a7bd930bf3491bf7fcd26ac3ce

parent

63646b38c40365d09194782c4bac9782963cd61f

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

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

@@ -44,8 +44,6 @@ {

assert(screen >= 0); assert(screen < ScreenCount(**otk::display)); _info = otk::display->screenInfo(screen); - _showing_desktop = false; - ::running = false; XErrorHandler old = XSetErrorHandler(::anotherWMRunning); XSelectInput(**otk::display, _info->rootWindow(),

@@ -112,6 +110,12 @@ _num_desktops = 1;

changeNumDesktops(_num_desktops); // set the hint changeDesktop(0); // set the hint + + // don't start in showing-desktop mode + _showing_desktop = false; + otk::Property::set(_info->rootWindow(), + otk::Property::atoms.net_showing_desktop, + otk::Property::atoms.cardinal, 0); // create the window which gets focus when no clients get it XSetWindowAttributes attr;