dwm.h
changeset 968 ce9a5452ac8c
parent 967 66f17bf2c278
child 971 b2a0dfa22b1d
equal deleted inserted replaced
967:66f17bf2c278 968:ce9a5452ac8c
   115 void grabkeys(void);			/* grab all keys defined in config.h */
   115 void grabkeys(void);			/* grab all keys defined in config.h */
   116 
   116 
   117 /* main.c */
   117 /* main.c */
   118 Bool gettextprop(Window w, Atom atom,
   118 Bool gettextprop(Window w, Atom atom,
   119 		char *text, unsigned int size); /* return text property, UTF-8 compliant */
   119 		char *text, unsigned int size); /* return text property, UTF-8 compliant */
   120 void updatebarpos(void);		/* updates the bar position */
   120 void quit(const char *arg);			/* quit dwm nicely */
   121 void quit(const char *arg);		/* quit dwm nicely */
       
   122 int xerror(Display *dsply, XErrorEvent *ee);	/* dwm's X error handler */
   121 int xerror(Display *dsply, XErrorEvent *ee);	/* dwm's X error handler */
   123 
   122 
   124 /* screen.c */
   123 /* screen.c */
   125 void applyrules(Client *c);		/* applies rules to c */
   124 void applyrules(Client *c);		/* applies rules to c */
   126 void arrange(void);			/* arranges all windows depending on the layout in use */
   125 void arrange(void);			/* arranges all windows depending on the layout in use */
   140 void togglebar(const char *arg);	/* shows/hides the bar */
   139 void togglebar(const char *arg);	/* shows/hides the bar */
   141 void togglefloating(const char *arg);	/* toggles sel between floating/tiled state */
   140 void togglefloating(const char *arg);	/* toggles sel between floating/tiled state */
   142 void togglemax(const char *arg);	/* toggles maximization of floating client */
   141 void togglemax(const char *arg);	/* toggles maximization of floating client */
   143 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 */
   144 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 */
       
   144 void updatebarpos(void);		/* updates the bar position */
   145 void view(const char *arg);		/* views the tag with arg's index */
   145 void view(const char *arg);		/* views the tag with arg's index */
   146 
   146 
   147 /* util.c */
   147 /* util.c */
   148 void *emallocz(unsigned int size);	/* allocates zero-initialized memory, exits on error */
   148 void *emallocz(unsigned int size);	/* allocates zero-initialized memory, exits on error */
   149 void eprint(const char *errstr, ...);	/* prints errstr and exits with 1 */
   149 void eprint(const char *errstr, ...);	/* prints errstr and exits with 1 */