… | |
… | |
900 | XGrabServer (dpy); |
900 | XGrabServer (dpy); |
901 | XMapRaised (dpy, src); |
901 | XMapRaised (dpy, src); |
902 | XSync (dpy, False); |
902 | XSync (dpy, False); |
903 | |
903 | |
904 | /* XSync should get window where it's properly exposed, |
904 | /* XSync should get window where it's properly exposed, |
905 | * but to be on the safe side - let's check for the actuall event to arrive : */ |
905 | * but to be on the safe side - let's check for the actual event to arrive : */ |
906 | while (XCheckWindowEvent (dpy, src, ExposureMask, &event)) |
906 | while (XCheckWindowEvent (dpy, src, ExposureMask, &event)) |
907 | ++ev_count; |
907 | ++ev_count; |
908 | |
908 | |
909 | if (ev_count > 0); |
909 | if (ev_count > 0); |
910 | { |
910 | { |