commit 9185e59c668a2d690bf7f895dd891996e58c58b3
parent 5549d217e8287b5d01215ce6169e55d93f50195a
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Thu, 23 Mar 2006 10:50:04 +0100
cleaned up inclusions in tag.c and view.c, fixed view action in /ctl
Diffstat:
3 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/cmd/wm/fs.c b/cmd/wm/fs.c
@@ -1220,7 +1220,7 @@ xwrite(IXPConn *c, Fcall *fcall)
case FsDroot:
if(!strncmp(buf, "quit", 5))
srv.running = 0;
- else if(!strncmp(buf, "view", 5))
+ else if(!strncmp(buf, "view ", 5))
select_view(&buf[5]);
else
return Enocommand;
diff --git a/cmd/wm/tag.c b/cmd/wm/tag.c
@@ -3,10 +3,8 @@
* See LICENSE file for license details.
*/
-#include <assert.h>
#include <stdlib.h>
#include <string.h>
-#include <X11/Xatom.h>
#include "wm.h"
diff --git a/cmd/wm/view.c b/cmd/wm/view.c
@@ -3,10 +3,8 @@
* See LICENSE file for license details.
*/
-#include <assert.h>
#include <stdlib.h>
#include <string.h>
-#include <X11/Xatom.h>
#include "wm.h"