summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-20 08:24:51 +0000
committerDana Jansens <danakj@orodu.net>2002-07-20 08:24:51 +0000
commitb4816f24179501091015dd7323636308d967099e (patch)
tree205129e310fa580e9fbbb88dc17e2eaa6dd0b341 /util
parent7d153b742bcdf4056ac5e70f8d039f13c12319b7 (diff)
make shading work
Diffstat (limited to 'util')
-rw-r--r--util/epist/window.cc3
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));
}