dwm.h
changeset 966 3ad7903c9e83
parent 964 777a9d9ce70b
child 967 66f17bf2c278
equal deleted inserted replaced
965:b3f4b0b3a5d7 966:3ad7903c9e83
    37 
    37 
    38 enum { BarTop, BarBot, BarOff };			/* bar position */
    38 enum { BarTop, BarBot, BarOff };			/* bar position */
    39 enum { CurNormal, CurResize, CurMove, CurLast };	/* cursor */
    39 enum { CurNormal, CurResize, CurMove, CurLast };	/* cursor */
    40 enum { ColBorder, ColFG, ColBG, ColLast };		/* color */
    40 enum { ColBorder, ColFG, ColBG, ColLast };		/* color */
    41 enum { NetSupported, NetWMName, NetLast };		/* EWMH atoms */
    41 enum { NetSupported, NetWMName, NetLast };		/* EWMH atoms */
    42 enum { WMProtocols, WMDelete, WMState, WMLast };	/* default atoms */
    42 enum { WMProtocols, WMDelete, WMName, WMState, WMLast };/* default atoms */
    43 
    43 
    44 typedef struct Client Client;
    44 typedef struct Client Client;
    45 struct Client {
    45 struct Client {
    46 	char name[256];
    46 	char name[256];
    47 	int x, y, w, h;
    47 	int x, y, w, h;
   129 void setlayout(const char *arg);	/* sets layout, NULL means next layout */
   129 void setlayout(const char *arg);	/* sets layout, NULL means next layout */
   130 void togglebar(const char *arg);	/* shows/hides the bar */
   130 void togglebar(const char *arg);	/* shows/hides the bar */
   131 void togglemax(const char *arg);	/* toggles maximization of floating client */
   131 void togglemax(const char *arg);	/* toggles maximization of floating client */
   132 
   132 
   133 /* main.c */
   133 /* main.c */
       
   134 Bool gettextprop(Window w, Atom atom,
       
   135 		char *text, unsigned int size); /* return text property, UTF-8 compliant */
   134 void updatebarpos(void);		/* updates the bar position */
   136 void updatebarpos(void);		/* updates the bar position */
   135 void quit(const char *arg);		/* quit dwm nicely */
   137 void quit(const char *arg);		/* quit dwm nicely */
   136 int xerror(Display *dsply, XErrorEvent *ee);	/* dwm's X error handler */
   138 int xerror(Display *dsply, XErrorEvent *ee);	/* dwm's X error handler */
   137 
   139 
   138 /* tag.c */
   140 /* tag.c */