projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d153b7
)
make shading work
author
Dana Jansens
<danakj@orodu.net>
Sat, 20 Jul 2002 08:24:51 +0000
(08:24 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 20 Jul 2002 08:24:51 +0000
(08:24 +0000)
util/epist/window.cc
patch
|
blob
|
history
diff --git
a/util/epist/window.cc
b/util/epist/window.cc
index 1d5a219dfc92af1ec8201f28276e21a9a7bc40e8..e650f4156937e3aab8cc4c8e0783a04c2d0a0b25 100644
(file)
--- 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));
}