diff options
author | Camil Staps | 2015-08-26 16:50:39 +0200 |
---|---|---|
committer | Camil Staps | 2015-08-26 16:50:39 +0200 |
commit | 59d52fbe5cc2c3ec6e60beb5824905144028841f (patch) | |
tree | a506894f75bf0059ffee81a9793a1b7af2d11d21 /Linux_C_12/cpicture_121.c | |
parent | WinPlaySound in background (diff) |
Invalidate window after WinDonePicture to force redraw
Diffstat (limited to 'Linux_C_12/cpicture_121.c')
-rw-r--r-- | Linux_C_12/cpicture_121.c | 3 |
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 */
|