diff options
Diffstat (limited to 'util/epist/window.cc')
| -rw-r--r-- | util/epist/window.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/util/epist/window.cc b/util/epist/window.cc index e650f415..c956bdfa 100644 --- a/util/epist/window.cc +++ b/util/epist/window.cc @@ -148,3 +148,9 @@ void XWindow::shade(const bool sh) const { _window, (sh ? 1 : 0), _xatom->getAtom(XAtom::net_wm_state_shaded)); } + + +void XWindow::close() const { + _xatom->sendClientMessage(_screen->rootWindow(), XAtom::net_close_window, + _window); +} |
