update documentation

This commit is contained in:
Julien Danjou 2007-09-20 21:27:43 +02:00
parent 9737185639
commit 6d97fc8292
1 changed files with 24 additions and 1 deletions

View File

@ -201,7 +201,7 @@ updatetitle(Client * c)
xgettextprop(c->display, c->win, XInternAtom(c->display, "WM_NAME", False), c->name, sizeof c->name); xgettextprop(c->display, c->win, XInternAtom(c->display, "WM_NAME", False), c->name, sizeof c->name);
} }
/** Ban client /** Ban client and unmapped it
* \param c the client * \param c the client
*/ */
void void
@ -293,6 +293,7 @@ focus(Display *disp, DC *drawcontext, Client * c, Bool selscreen, awesome_config
/** Kill selected client /** Kill selected client
* \param disp Display ref * \param disp Display ref
* \param drawcontext Drawcontext ref
* \param awesomeconf awesome config * \param awesomeconf awesome config
* \param arg unused * \param arg unused
* \ingroup ui_callback * \ingroup ui_callback
@ -321,6 +322,13 @@ uicb_killclient(Display *disp __attribute__ ((unused)),
XKillClient(sel->display, sel->win); XKillClient(sel->display, sel->win);
} }
/** Load windows properties, restoring client's tag
* and floating state before awesome was restarted if any
* \todo this may bug if number of tags is != than before
* \param c Client ref
* \param ntags tags number
*/
static Bool static Bool
loadprops(Client * c, int ntags) loadprops(Client * c, int ntags)
{ {
@ -344,6 +352,13 @@ loadprops(Client * c, int ntags)
return result; return result;
} }
/** Manage a new client
* \param disp Display ref
* \param drawcontext Drawcontext ref
* \param w The window
* \param wa Window attributes
* \param awesomeconf awesome config
*/
void void
manage(Display * disp, DC *drawcontext, Window w, XWindowAttributes * wa, awesome_config *awesomeconf) manage(Display * disp, DC *drawcontext, Window w, XWindowAttributes * wa, awesome_config *awesomeconf)
{ {
@ -654,6 +669,13 @@ set_shape(Client *c)
XShapeCombineShape(c->display, RootWindow(c->display, c->screen), ShapeBounding, 0, 0, c->win, ShapeBounding, ShapeSet); XShapeCombineShape(c->display, RootWindow(c->display, c->screen), ShapeBounding, 0, 0, c->win, ShapeBounding, ShapeSet);
} }
/** Set selected client transparency
* \param disp Display ref
* \param drawcontext Drawcontext ref
* \param awesomeconf awesome config
* \param arg unused arg
* \ingroup ui_callback
*/
void void
uicb_settrans(Display *disp __attribute__ ((unused)), uicb_settrans(Display *disp __attribute__ ((unused)),
DC *drawcontext __attribute__ ((unused)), DC *drawcontext __attribute__ ((unused)),
@ -705,6 +727,7 @@ uicb_settrans(Display *disp __attribute__ ((unused)),
* \param drawcontext Drawcontext ref * \param drawcontext Drawcontext ref
* \param awesomeconf awesome config * \param awesomeconf awesome config
* \param arg X, +X or -X * \param arg X, +X or -X
* \ingroup ui_callback
*/ */
void void
uicb_setborder(Display *disp __attribute__ ((unused)), uicb_setborder(Display *disp __attribute__ ((unused)),