diff --git a/window.c b/window.c index 35b30219..210c1349 100644 --- a/window.c +++ b/window.c @@ -27,7 +27,7 @@ extern AwesomeConf globalconf; -/** Mask shorthands, used in event.c and window.c */ +/** Mask shorthands */ #define BUTTONMASK (ButtonPressMask | ButtonReleaseMask) /** Set client WM_STATE property @@ -67,6 +67,12 @@ window_getstate(Window w) return result; } +/** Configure a window with its new geometry and border + * \param win the X window id + * \param geometry the new window geometry + * \param border new border size + * \return the XSendEvent() status + */ Status window_configure(Window win, Area geometry, int border) { @@ -119,6 +125,9 @@ window_grabbuttons(int phys_screen, Window win) XUngrabButton(globalconf.display, AnyButton, AnyModifier, RootWindow(globalconf.display, phys_screen)); } +/** Grab button on root window + * \param phys_screen physical screen id + */ void window_root_grabbuttons(int phys_screen) {