Xinqi Bao's Git
baa3ae94fabe163243c5042e7417643c27712fd3
2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
3 * See LICENSE file for license details.
25 const char *arg
= aux
;
30 if(!strncmp(arg
, "next", 5))
31 c
= stack
->snext
? stack
->snext
: stack
;
32 else if(!strncmp(arg
, "prev", 5))
33 for(c
= stack
; c
&& c
->snext
; c
= c
->snext
);
47 if(c
->proto
& WM_PROTOCOL_DELWIN
)
48 send_message(c
->win
, wm_atom
[WMProtocols
], wm_atom
[WMDelete
]);
50 XKillClient(dpy
, c
->win
);