dwm.h
changeset 963 7416c26a14db
parent 960 b5f856fcef4c
child 964 777a9d9ce70b
equal deleted inserted replaced
962:8d1df2c37229 963:7416c26a14db
    94 void ban(Client *c);			/* bans c */
    94 void ban(Client *c);			/* bans c */
    95 void configure(Client *c);		/* send synthetic configure event */
    95 void configure(Client *c);		/* send synthetic configure event */
    96 void detach(Client *c);			/* detaches c from global client list */
    96 void detach(Client *c);			/* detaches c from global client list */
    97 void focus(Client *c);			/* focus c if visible && !NULL, or focus top visible */
    97 void focus(Client *c);			/* focus c if visible && !NULL, or focus top visible */
    98 void killclient(const char *arg);	/* kill sel  nicely */
    98 void killclient(const char *arg);	/* kill sel  nicely */
       
    99 Bool loadconfig(Client *c);		/* loads client properties */
    99 void manage(Window w, XWindowAttributes *wa);	/* manage new client */
   100 void manage(Window w, XWindowAttributes *wa);	/* manage new client */
   100 void resize(Client *c, int x, int y,
   101 void resize(Client *c, int x, int y,
   101 		int w, int h, Bool sizehints);	/* resize with given coordinates c*/
   102 		int w, int h, Bool sizehints);	/* resize with given coordinates c*/
       
   103 void saveconfig(Client *c);		/* saves client properties */
   102 void unban(Client *c);			/* unbans c */
   104 void unban(Client *c);			/* unbans c */
   103 void unmanage(Client *c, long state);	/* unmanage c */
   105 void unmanage(Client *c, long state);	/* unmanage c */
   104 void updatesizehints(Client *c);	/* update the size hint variables of c */
   106 void updatesizehints(Client *c);	/* update the size hint variables of c */
   105 void updatetitle(Client *c);		/* update the name of c */
   107 void updatetitle(Client *c);		/* update the name of c */
   106 
   108 
   130 void updatebarpos(void);		/* updates the bar position */
   132 void updatebarpos(void);		/* updates the bar position */
   131 void quit(const char *arg);		/* quit dwm nicely */
   133 void quit(const char *arg);		/* quit dwm nicely */
   132 int xerror(Display *dsply, XErrorEvent *ee);	/* dwm's X error handler */
   134 int xerror(Display *dsply, XErrorEvent *ee);	/* dwm's X error handler */
   133 
   135 
   134 /* tag.c */
   136 /* tag.c */
       
   137 void applyrules(Client *c);		/* applies rules to c */
   135 void compileregs(void);			/* initialize regexps of rules defined in config.h */
   138 void compileregs(void);			/* initialize regexps of rules defined in config.h */
   136 Bool isvisible(Client *c);		/* returns True if client is visible */
   139 Bool isvisible(Client *c);		/* returns True if client is visible */
   137 void settags(Client *c, Client *trans);	/* sets tags of c */
       
   138 void tag(const char *arg);		/* tags sel with arg's index */
   140 void tag(const char *arg);		/* tags sel with arg's index */
   139 void togglefloating(const char *arg);	/* toggles sel between floating/tiled state */
   141 void togglefloating(const char *arg);	/* toggles sel between floating/tiled state */
   140 void toggletag(const char *arg);	/* toggles sel tags with arg's index */
   142 void toggletag(const char *arg);	/* toggles sel tags with arg's index */
   141 void toggleview(const char *arg);	/* toggles the tag with arg's index (in)visible */
   143 void toggleview(const char *arg);	/* toggles the tag with arg's index (in)visible */
   142 void view(const char *arg);		/* views the tag with arg's index */
   144 void view(const char *arg);		/* views the tag with arg's index */