notify the frame when the desktop changes
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
6 deletions(-)
jump to
M
src/client.cc
→
src/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(); }