slight fix
86d12249
1 file(s) · +2 −3
| 178 | 178 | ||
| 179 | 179 | dpy = XOpenDisplay(0); |
|
| 180 | 180 | if(!dpy) |
|
| 181 | - | eprint("dwm: cannot connect X server\n"); |
|
| 181 | + | eprint("dwm: cannot open display\n"); |
|
| 182 | 182 | ||
| 183 | 183 | screen = DefaultScreen(dpy); |
|
| 184 | 184 | root = RootWindow(dpy, screen); |
|
| 185 | 185 | ||
| 186 | - | /* check if another WM is already running */ |
|
| 187 | 186 | otherwm = False; |
|
| 188 | 187 | XSetErrorHandler(xerrorstart); |
|
| 189 | - | /* this causes an error if some other WM is running */ |
|
| 188 | + | /* this causes an error if some other window manager is running */ |
|
| 190 | 189 | XSelectInput(dpy, root, SubstructureRedirectMask); |
|
| 191 | 190 | XSync(dpy, False); |
|
| 192 | 191 |