summaryrefslogtreecommitdiff
path: root/wm.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 11:10:05 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 11:10:05 +0200
commit3a69c5173cdd24959410870bec2a10a76272e034 (patch)
tree993f2fb75b1c44213d0c95a4da8b3a18daa739fe /wm.c
parent439e15d09f6fa9271d3b49ef97194f0c80ebe161 (diff)
implemented pipe_spawn
Diffstat (limited to 'wm.c')
-rw-r--r--wm.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/wm.c b/wm.c
index b8b3053..843aaac 100644
--- a/wm.c
+++ b/wm.c
@@ -21,7 +21,7 @@ Cursor cursor[CurLast];
XRectangle rect, barrect;
Bool running = True;
-char *bartext, *shell;
+char *bartext;
int screen, sel_screen;
unsigned int lock_mask, numlock_mask;
@@ -56,7 +56,7 @@ scan_wins()
if(wa.override_redirect || XGetTransientForHint(dpy, wins[i], &d1))
continue;
if(wa.map_state == IsViewable)
- /*manage*/;
+ manage(create_client(wins[i], &wa));
}
}
if(wins)
@@ -219,9 +219,6 @@ main(int argc, char *argv[])
if(other_wm_running)
error("gridwm: another window manager is already running\n");
- if(!(shell = getenv("SHELL")))
- shell = "/bin/sh";
-
rect.x = rect.y = 0;
rect.width = DisplayWidth(dpy, screen);
rect.height = DisplayHeight(dpy, screen);