aewl

diff main.c @ 197:c13f374f836c

slight fix
author arg@10ksloc.org
date Sat, 05 Aug 2006 13:10:09 +0200
parents 56fee1dc9d53
children 81498863dc30
line diff
     1.1 --- a/main.c	Fri Aug 04 18:34:40 2006 +0200
     1.2 +++ b/main.c	Sat Aug 05 13:10:09 2006 +0200
     1.3 @@ -178,15 +178,14 @@
     1.4  
     1.5  	dpy = XOpenDisplay(0);
     1.6  	if(!dpy)
     1.7 -		eprint("dwm: cannot connect X server\n");
     1.8 +		eprint("dwm: cannot open display\n");
     1.9  
    1.10  	screen = DefaultScreen(dpy);
    1.11  	root = RootWindow(dpy, screen);
    1.12  
    1.13 -	/* check if another WM is already running */
    1.14  	otherwm = False;
    1.15  	XSetErrorHandler(xerrorstart);
    1.16 -	/* this causes an error if some other WM is running */
    1.17 +	/* this causes an error if some other window manager is running */
    1.18  	XSelectInput(dpy, root, SubstructureRedirectMask);
    1.19  	XSync(dpy, False);
    1.20