dwm.h
changeset 875 73cd10af065a
parent 865 018c38468422
child 878 d2ae55f83f9f
equal deleted inserted replaced
874:e42bdee29c92 875:73cd10af065a
    98 /* client.c */
    98 /* client.c */
    99 void attach(Client *c);			/* attaches c to global client list */
    99 void attach(Client *c);			/* attaches c to global client list */
   100 void configure(Client *c);		/* send synthetic configure event */
   100 void configure(Client *c);		/* send synthetic configure event */
   101 void detach(Client *c);			/* detaches c from global client list */
   101 void detach(Client *c);			/* detaches c from global client list */
   102 void focus(Client *c);			/* focus c, c may be NULL */
   102 void focus(Client *c);			/* focus c, c may be NULL */
   103 void killclient(const char *arg);		/* kill c nicely */
   103 void focustopvisible(void);	    /* focus top visible window on stack */
       
   104 void killclient(const char *arg);		/* kill sel  nicely */
   104 void manage(Window w, XWindowAttributes *wa);	/* manage new client */
   105 void manage(Window w, XWindowAttributes *wa);	/* manage new client */
   105 void resize(Client *c, int x, int y,
   106 void resize(Client *c, int x, int y,
   106 		int w, int h, Bool sizehints);	/* resize with given coordinates c*/
   107 		int w, int h, Bool sizehints);	/* resize with given coordinates c*/
   107 void togglefloating(const char *arg);	/* toggles focused client between floating/tiled state */
   108 void togglefloating(const char *arg);	/* toggles sel between floating/tiled state */
   108 void updatesizehints(Client *c);		/* update the size hint variables of c */
   109 void updatesizehints(Client *c);		/* update the size hint variables of c */
   109 void updatetitle(Client *c);		/* update the name of c */
   110 void updatetitle(Client *c);		/* update the name of c */
   110 void unmanage(Client *c);		/* destroy c */
   111 void unmanage(Client *c);		/* destroy c */
   111 
   112 
   112 /* draw.c */
   113 /* draw.c */
   135 
   136 
   136 /* tag.c */
   137 /* tag.c */
   137 void compileregs(void);			/* initialize regexps of rules defined in config.h */
   138 void compileregs(void);			/* initialize regexps of rules defined in config.h */
   138 Bool isvisible(Client *c);		/* returns True if client is visible */
   139 Bool isvisible(Client *c);		/* returns True if client is visible */
   139 void settags(Client *c, Client *trans);	/* sets tags of c */
   140 void settags(Client *c, Client *trans);	/* sets tags of c */
   140 void tag(const char *arg);		/* tags c with arg's index */
   141 void tag(const char *arg);		/* tags sel with arg's index */
   141 void toggletag(const char *arg);		/* toggles c tags with arg's index */
   142 void toggletag(const char *arg);		/* toggles sel tags with arg's index */
   142 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 */
   143 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 */
   144 
   145 
   145 /* util.c */
   146 /* util.c */
   146 void *emallocz(unsigned int size);	/* allocates zero-initialized memory, exits on error */
   147 void *emallocz(unsigned int size);	/* allocates zero-initialized memory, exits on error */