--- a/wm.c Mon Jul 10 22:16:48 2006 +0200
+++ b/wm.c Tue Jul 11 11:10:05 2006 +0200
@@ -21,7 +21,7 @@
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 @@
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 @@
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);