changing XFlush into XSync
This commit is contained in:
parent
c09bf8da07
commit
f60c597d65
4 changed files with 11 additions and 6 deletions
4
main.c
4
main.c
|
@ -204,12 +204,12 @@ main(int argc, char *argv[])
|
|||
XSetErrorHandler(xerrorstart);
|
||||
/* this causes an error if some other WM is running */
|
||||
XSelectInput(dpy, root, SubstructureRedirectMask);
|
||||
XFlush(dpy);
|
||||
XSync(dpy, False);
|
||||
|
||||
if(otherwm)
|
||||
eprint("dwm: another window manager is already running\n");
|
||||
|
||||
XSetErrorHandler(0);
|
||||
XSetErrorHandler(NULL);
|
||||
xerrorxlib = XSetErrorHandler(xerror);
|
||||
|
||||
/* init atoms */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue