-void XWindow::shade(const bool sh) const {
- _xatom->sendClientMessage(_screen->rootWindow(), XAtom::net_wm_state,
- _window, (sh ? 1 : 0),
- _xatom->getAtom(XAtom::net_wm_state_shaded));
-}
-
-
-void XWindow::close() const {
- _xatom->sendClientMessage(_screen->rootWindow(), XAtom::net_close_window,
- _window);
-}
-
-
-void XWindow::raise() const {
- XRaiseWindow(_epist->getXDisplay(), _window);
-}
-
-
-void XWindow::lower() const {
- XLowerWindow(_epist->getXDisplay(), _window);
-}
-
-
-void XWindow::iconify() const {
- _xatom->sendClientMessage(_screen->rootWindow(), XAtom::wm_change_state,
- _window, IconicState);
-}
-
-
-void XWindow::focus() const {
- // this will also unshade the window..
- _xatom->sendClientMessage(_screen->rootWindow(), XAtom::net_active_window,
- _window);
-}
-
-
-void XWindow::sendTo(unsigned int dest) const {
- _xatom->sendClientMessage(_screen->rootWindow(), XAtom::net_wm_desktop,
- _window, dest);
-}
-
-
-void XWindow::move(int x, int y) const {
- int fx, fy;
- findFramePosition(fx, fy);
- XMoveWindow(_epist->getXDisplay(), _window, fx + x, fy + y);
+void XWindow::resize(unsigned int width, unsigned int height) const {
+ XResizeWindow(_epist->getXDisplay(), _window, width, height);