dwm.c
changeset 1076 591632523d96
parent 1075 e3916ef44cf0
child 1077 51b8e0c21bcb
equal deleted inserted replaced
1075:e3916ef44cf0 1076:591632523d96
   172 void killclient(const char *arg);
   172 void killclient(const char *arg);
   173 void leavenotify(XEvent *e);
   173 void leavenotify(XEvent *e);
   174 void manage(Window w, XWindowAttributes *wa);
   174 void manage(Window w, XWindowAttributes *wa);
   175 void mappingnotify(XEvent *e);
   175 void mappingnotify(XEvent *e);
   176 void maprequest(XEvent *e);
   176 void maprequest(XEvent *e);
   177 void maximize(const char *arg);
       
   178 void movemouse(Client *c);
   177 void movemouse(Client *c);
   179 Client *nexttiled(Client *c, Monitor *m);
   178 Client *nexttiled(Client *c, Monitor *m);
   180 void propertynotify(XEvent *e);
   179 void propertynotify(XEvent *e);
   181 void quit(const char *arg);
   180 void quit(const char *arg);
   182 void reapply(const char *arg);
   181 void reapply(const char *arg);
  1133 	if(!getclient(ev->window))
  1132 	if(!getclient(ev->window))
  1134 		manage(ev->window, &wa);
  1133 		manage(ev->window, &wa);
  1135 }
  1134 }
  1136 
  1135 
  1137 void
  1136 void
  1138 maximize(const char *arg) {
       
  1139 /*
       
  1140 	if(!sel || (!sel->isfloating && layout->arrange != floating))
       
  1141 		return;
       
  1142 	resize(sel, wax, way, waw - 2 * sel->border, wah - 2 * sel->border, True);
       
  1143 */
       
  1144 }
       
  1145 
       
  1146 void
       
  1147 movemouse(Client *c) {
  1137 movemouse(Client *c) {
  1148 	int x1, y1, ocx, ocy, di, nx, ny;
  1138 	int x1, y1, ocx, ocy, di, nx, ny;
  1149 	unsigned int dui;
  1139 	unsigned int dui;
  1150 	Window dummy;
  1140 	Window dummy;
  1151 	XEvent ev;
  1141 	XEvent ev;