cleaned up inclusions in tag.c and view.c, fixed view action in /ctl

This commit is contained in:
Anselm R. Garbe 2006-03-23 10:50:04 +01:00
parent 5549d217e8
commit 9185e59c66
3 changed files with 1 additions and 5 deletions

View File

@ -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;

View File

@ -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"

View File

@ -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"