Add some comments to window functions
This commit is contained in:
parent
b58631581b
commit
fcf086ec08
11
window.c
11
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue