all repos — openbox @ 939e7887ceaee9ec97428ad79d8424bde6e479dd

openbox fork - make it a bit more like ryudo

notify the frame when the desktop changes
Dana Jansens danakj@orodu.net
commit

939e7887ceaee9ec97428ad79d8424bde6e479dd

parent

23cc9e0546a8165643eb8f394e57fe4be1df063c

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

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

@@ -83,7 +83,6 @@ // set the desktop hint, to make sure that it always exists, and to reflect

// any changes we've made here otk::Property::set(_window, otk::Property::atoms.net_wm_desktop, otk::Property::atoms.cardinal, (unsigned)_desktop); - changeState(); }

@@ -750,14 +749,12 @@ target == 0xffffffff))

return; _desktop = target; - // set the desktop hint otk::Property::set(_window, otk::Property::atoms.net_wm_desktop, otk::Property::atoms.cardinal, _desktop); - + frame->adjustState(); // the frame can display the current desktop state // 'move' the window to the new desktop showhide(); - openbox->screen(_screen)->updateStruts(); }

@@ -1580,9 +1577,7 @@ _wmstate = NormalState;

XMapWindow(**otk::display, _window); } changeState(); - showhide(); - openbox->screen(_screen)->updateStruts(); }