diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-20 08:24:51 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-20 08:24:51 +0000 |
| commit | b4816f24179501091015dd7323636308d967099e (patch) | |
| tree | 205129e310fa580e9fbbb88dc17e2eaa6dd0b341 | |
| parent | 7d153b742bcdf4056ac5e70f8d039f13c12319b7 (diff) | |
make shading work
| -rw-r--r-- | util/epist/window.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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)); } |
