diff options
| author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-15 18:11:14 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-15 18:11:14 +0200 |
| commit | f60c597d653bd7eab6c620fc53d732ca75f6a880 (patch) | |
| tree | d7cc81bf3fbcea4b5c68b6d568fcb3fae6d5588b /main.c | |
| parent | sanitized other stuff (diff) | |
| download | dwm-f60c597d653bd7eab6c620fc53d732ca75f6a880.tar.gz dwm-f60c597d653bd7eab6c620fc53d732ca75f6a880.zip | |
changing XFlush into XSync
Diffstat (limited to '')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -204,12 +204,12 @@ main(int argc, char *argv[]) | |||
| 204 | XSetErrorHandler(xerrorstart); | 204 | XSetErrorHandler(xerrorstart); |
| 205 | /* this causes an error if some other WM is running */ | 205 | /* this causes an error if some other WM is running */ |
| 206 | XSelectInput(dpy, root, SubstructureRedirectMask); | 206 | XSelectInput(dpy, root, SubstructureRedirectMask); |
| 207 | XFlush(dpy); | 207 | XSync(dpy, False); |
| 208 | 208 | ||
| 209 | if(otherwm) | 209 | if(otherwm) |
| 210 | eprint("dwm: another window manager is already running\n"); | 210 | eprint("dwm: another window manager is already running\n"); |
| 211 | 211 | ||
| 212 | XSetErrorHandler(0); | 212 | XSetErrorHandler(NULL); |
| 213 | xerrorxlib = XSetErrorHandler(xerror); | 213 | xerrorxlib = XSetErrorHandler(xerror); |
| 214 | 214 | ||
| 215 | /* init atoms */ | 215 | /* init atoms */ |
