]> mj.ucw.cz Git - osdd.git/commitdiff
Do not forget XFlush()
authorMartin Mares <mj@ucw.cz>
Tue, 22 Oct 2013 20:58:32 +0000 (22:58 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 22 Oct 2013 20:58:32 +0000 (22:58 +0200)
display.c

index d2decdce1ebc27f473fe20d26ca51be841309eaa..8bb79992af544751e46af69b79c6be9f1c38e457 100644 (file)
--- a/display.c
+++ b/display.c
@@ -366,6 +366,7 @@ void osd_hide(struct osd_state *osd)
   XFreePixmap(osd->dpy, osd->image_pixmap);
   XFreePixmap(osd->dpy, osd->mask_bitmap);
   XDestroyWindow(osd->dpy, osd->win);
+  XFlush(osd->dpy);
 
   osd->visible = 0;
 }