dwm-meillo

changeset 197:c13f374f836c

slight fix
author arg@10ksloc.org
date Sat, 05 Aug 2006 13:10:09 +0200
parents d560e796f7fe
children ac90e9e4b9c9
files main.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
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