mirror of
https://github.com/0intro/wmii
synced 2024-12-26 21:29:45 +03:00
cleaned up inclusions in tag.c and view.c, fixed view action in /ctl
This commit is contained in:
parent
5549d217e8
commit
9185e59c66
@ -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;
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user