Mercurial > aewl
view cmd.c @ 19:b5510d0c6d43
added basic mouse support (actually we don't need more)
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Tue, 11 Jul 2006 21:41:49 +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); }