X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fwindow.cc;h=e650f4156937e3aab8cc4c8e0783a04c2d0a0b25;hb=b4816f24179501091015dd7323636308d967099e;hp=1d5a219dfc92af1ec8201f28276e21a9a7bc40e8;hpb=c517f511000c8ec775f7413527b9e276b7995806;p=chaz%2Fopenbox diff --git a/util/epist/window.cc b/util/epist/window.cc index 1d5a219d..e650f415 100644 --- a/util/epist/window.cc +++ b/util/epist/window.cc @@ -145,5 +145,6 @@ void XWindow::processEvent(const XEvent &e) { void XWindow::shade(const bool sh) const { _xatom->sendClientMessage(_screen->rootWindow(), XAtom::net_wm_state, - _window, (sh ? 1 : 0), XAtom::net_wm_state_shaded); + _window, (sh ? 1 : 0), + _xatom->getAtom(XAtom::net_wm_state_shaded)); }