Mercurial > aewl
view cmd.c @ 20:4560e0882c1d
made code more readable
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Tue, 11 Jul 2006 22:49:09 +0200 |
parents | 5c078b66347b |
children | 95ffdfd0a819 |
line wrap: on
line source
/* * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com> * See LICENSE file for license details. */ #include "wm.h" #include <stdio.h> #include <string.h> void run(void *aux) { spawn(dpy, aux); } void quit(void *aux) { running = False; } void kill(void *aux) { Client *c = stack; if(!c) return; if(c->proto & WM_PROTOCOL_DELWIN) send_message(c->win, wm_atom[WMProtocols], wm_atom[WMDelete]); else XKillClient(dpy, c->win); }