From: David Hill Date: Fri, 6 Jul 2012 01:50:32 +0000 (-0400) Subject: convert XKillClient to xcb X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;ds=inline;h=1b5d8e8818adaf598da30f16c48ad0d178d3e543;p=spectrwm.git convert XKillClient to xcb --- diff --git a/spectrwm.c b/spectrwm.c index 08ca5b9..87fa847 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -4060,7 +4060,7 @@ wkill(struct swm_region *r, union arg *args) return; if (args->id == SWM_ARG_ID_KILLWINDOW) - XKillClient(display, r->ws->focus->id); + xcb_kill_client(conn, r->ws->focus->id); else if (r->ws->focus->can_delete) client_msg(r->ws->focus, adelete); @@ -7083,7 +7083,7 @@ clientmessage(XEvent *e) if (win->can_delete) client_msg(win, adelete); else - XKillClient(display, win->id); + xcb_kill_client(conn, win->id); } if (ev->message_type == ewmh[_NET_MOVERESIZE_WINDOW].atom) { DNPRINTF(SWM_D_EVENT,