dwm.c
changeset 1200 d59c0861bd2c
parent 1199 94ecece0f25d
child 1201 b66f5380fce3
equal deleted inserted replaced
1199:94ecece0f25d 1200:d59c0861bd2c
   156 void monocle(void);
   156 void monocle(void);
   157 void movemouse(Client *c);
   157 void movemouse(Client *c);
   158 Client *nexttiled(Client *c);
   158 Client *nexttiled(Client *c);
   159 void propertynotify(XEvent *e);
   159 void propertynotify(XEvent *e);
   160 void quit(const char *arg);
   160 void quit(const char *arg);
   161 void reapply(const char *arg);
       
   162 void resize(Client *c, int x, int y, int w, int h, Bool sizehints);
   161 void resize(Client *c, int x, int y, int w, int h, Bool sizehints);
   163 void resizemouse(Client *c);
   162 void resizemouse(Client *c);
   164 void restack(void);
   163 void restack(void);
   165 void run(void);
   164 void run(void);
   166 void scan(void);
   165 void scan(void);
  1135 quit(const char *arg) {
  1134 quit(const char *arg) {
  1136 	readin = running = False;
  1135 	readin = running = False;
  1137 }
  1136 }
  1138 
  1137 
  1139 void
  1138 void
  1140 reapply(const char *arg) {
       
  1141 	Client *c;
       
  1142 
       
  1143 	for(c = clients; c; c = c->next) {
       
  1144 		memset(c->tags, 0, TAGSZ);
       
  1145 		applyrules(c);
       
  1146 	}
       
  1147 	arrange();
       
  1148 }
       
  1149 
       
  1150 void
       
  1151 resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
  1139 resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
  1152 	XWindowChanges wc;
  1140 	XWindowChanges wc;
  1153 
  1141 
  1154 	if(sizehints) {
  1142 	if(sizehints) {
  1155 		/* set minimum possible */
  1143 		/* set minimum possible */