Fix for #1777:
[blender.git] / source / blender / src / ghostwinlay.c
index b6e49df47b57f9a6d63dae55287b7c25e6a92975..c1ed4134ac2b49425c2986fcc6b477dbf9839dc8 100644 (file)
@@ -719,6 +719,9 @@ void window_lower(Window *win) {
 
 void window_raise(Window *win) {
        GHOST_SetWindowOrder(win->ghostwin, GHOST_kWindowOrderTop);
+#ifdef _WIN32
+       markdirty_all(); /* to avoid redraw errors in fullscreen mode (aphex) */
+#endif
 }
 
 #ifdef _WIN32  //FULLSCREEN