mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
Add some comments to window functions
This commit is contained in:
parent
b58631581b
commit
fcf086ec08
1 changed files with 10 additions and 1 deletions
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 a new issue