From b4816f24179501091015dd7323636308d967099e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 20 Jul 2002 08:24:51 +0000 Subject: [PATCH] make shading work --- util/epist/window.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); } -- 2.45.2