dwm.h
changeset 933 f7619f63380a
parent 931 8ff0f913999e
child 939 a1ac5930ba2f
equal deleted inserted replaced
932:df47d77ec9a6 933:f7619f63380a
    42 enum { WMProtocols, WMDelete, WMState, WMLast };	/* default atoms */
    42 enum { WMProtocols, WMDelete, 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 	float scale;
       
    48 	int x, y, w, h;
    47 	int x, y, w, h;
    49 	int rx, ry, rw, rh; /* revert geometry */
    48 	int rx, ry, rw, rh; /* revert geometry */
    50 	int basew, baseh, incw, inch, maxw, maxh, minw, minh;
    49 	int basew, baseh, incw, inch, maxw, maxh, minw, minh;
    51 	int minax, maxax, minay, maxay;
    50 	int minax, maxax, minay, maxay;
    52 	int unmapped;
    51 	int unmapped;
   121 void grabkeys(void);			/* grab all keys defined in config.h */
   120 void grabkeys(void);			/* grab all keys defined in config.h */
   122 
   121 
   123 /* layout.c */
   122 /* layout.c */
   124 void floating(void);			/* arranges all windows floating */
   123 void floating(void);			/* arranges all windows floating */
   125 void focusclient(const char *arg);	/* focuses next(1)/previous(-1) visible client */
   124 void focusclient(const char *arg);	/* focuses next(1)/previous(-1) visible client */
   126 void incratio(const char *arg);		/* increments the tile ratio with arg's value */
   125 void inchratio(const char *arg);	/* increments the horizontal tile ratio with arg's value */
       
   126 void incvratio(const char *arg);	/* increments the vertical tile ratio with arg's value */
   127 void incnmaster(const char *arg);	/* increments nmaster with arg's index value */
   127 void incnmaster(const char *arg);	/* increments nmaster with arg's index value */
   128 void initlayouts(void);			/* initialize layout array */
   128 void initlayouts(void);			/* initialize layout array */
   129 Client *nexttiled(Client *c);		/* returns tiled successor of c */
   129 Client *nexttiled(Client *c);		/* returns tiled successor of c */
   130 void restack(void);			/* restores z layers of all clients */
   130 void restack(void);			/* restores z layers of all clients */
   131 void setlayout(const char *arg);	/* sets layout, NULL means next layout */
   131 void setlayout(const char *arg);	/* sets layout, NULL means next layout */