aboutsummaryrefslogtreecommitdiff
path: root/Linux_C_12
diff options
context:
space:
mode:
authorCamil Staps2015-08-26 16:50:39 +0200
committerCamil Staps2015-08-26 16:50:39 +0200
commit59d52fbe5cc2c3ec6e60beb5824905144028841f (patch)
treea506894f75bf0059ffee81a9793a1b7af2d11d21 /Linux_C_12
parentWinPlaySound in background (diff)
Invalidate window after WinDonePicture to force redraw
Diffstat (limited to 'Linux_C_12')
-rw-r--r--Linux_C_12/cpicture_121.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Linux_C_12/cpicture_121.c b/Linux_C_12/cpicture_121.c
index 07f85f3..31772f5 100644
--- a/Linux_C_12/cpicture_121.c
+++ b/Linux_C_12/cpicture_121.c
@@ -213,6 +213,9 @@ void WinDonePicture(GdkDrawable *inDraw, OS ios, GdkDrawable **outDraw, OS* oos)
gtk_widget_destroy(widget);
}
+ if (GDK_IS_WINDOW(inDraw))
+ gdk_window_invalidate_rect(GDK_WINDOW(inDraw), NULL, gtk_true());
+
*oos = ios;
printf("WinDonePicture -- returning\n");
} /* WinDonePicture */