Mercurial > aewl
view cmd.c @ 21:3ef108a5ca0a
implemented draw_client stuff
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Tue, 11 Jul 2006 23:18:30 +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); }