dwm.c
changeset 1070 dc37f0e022f7
parent 1067 d6d3085307d8
child 1071 3303e2643918
equal deleted inserted replaced
1069:b61ffb85f691 1070:dc37f0e022f7
   159 void maprequest(XEvent *e);
   159 void maprequest(XEvent *e);
   160 void movemouse(Client *c);
   160 void movemouse(Client *c);
   161 Client *nexttiled(Client *c);
   161 Client *nexttiled(Client *c);
   162 void propertynotify(XEvent *e);
   162 void propertynotify(XEvent *e);
   163 void quit(const char *arg);
   163 void quit(const char *arg);
       
   164 void reapply(const char *arg);
   164 void resize(Client *c, int x, int y, int w, int h, Bool sizehints);
   165 void resize(Client *c, int x, int y, int w, int h, Bool sizehints);
   165 void resizemouse(Client *c);
   166 void resizemouse(Client *c);
   166 void restack(void);
   167 void restack(void);
   167 void run(void);
   168 void run(void);
   168 void scan(void);
   169 void scan(void);
  1157 void
  1158 void
  1158 quit(const char *arg) {
  1159 quit(const char *arg) {
  1159 	readin = running = False;
  1160 	readin = running = False;
  1160 }
  1161 }
  1161 
  1162 
       
  1163 void
       
  1164 reapply(const char *arg) {
       
  1165 	static Bool zerotags[LENGTH(tags)] = { 0 };
       
  1166 	Client *c;
       
  1167 
       
  1168 	for(c = clients; c; c = c->next) {
       
  1169 		memcpy(c->tags, zerotags, sizeof zerotags);
       
  1170 		applyrules(c);
       
  1171 	}
       
  1172 	arrange();
       
  1173 }
  1162 
  1174 
  1163 void
  1175 void
  1164 resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
  1176 resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
  1165 	XWindowChanges wc;
  1177 	XWindowChanges wc;
  1166 
  1178