client.c
changeset 157 93012e947eae
parent 151 e1859517e3a6
child 158 4e42dfc0f61f
equal deleted inserted replaced
156:9bd8a1a50464 157:93012e947eae
   189 void
   189 void
   190 killclient(Arg *arg)
   190 killclient(Arg *arg)
   191 {
   191 {
   192 	if(!sel)
   192 	if(!sel)
   193 		return;
   193 		return;
   194 	if(sel->proto & WM_PROTOCOL_DELWIN)
   194 	if(sel->proto & PROTODELWIN)
   195 		sendevent(sel->win, wmatom[WMProtocols], wmatom[WMDelete]);
   195 		sendevent(sel->win, wmatom[WMProtocols], wmatom[WMDelete]);
   196 	else
   196 	else
   197 		XKillClient(dpy, sel->win);
   197 		XKillClient(dpy, sel->win);
   198 }
   198 }
   199 
   199