[Wine-patches] [eterhack] Revert "server: Skip redrawing windows on set_window_pos with the SWP_SHOWWINDOW flag (eterbug #2605)"

Dmitry Timoshkov dtimoshkov на etersoft.ru
Пн Сен 17 06:17:09 MSK 2012


This reverts commit 8322b010f26c44b1a794dcf92394fa9274905e95.

This patch breaks proper window repaints and it's the source of black
window backgrounds.
---
 server/window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/window.c b/server/window.c
index 2162535..a5a8853 100644
--- a/server/window.c
+++ b/server/window.c
@@ -1678,7 +1678,7 @@ static void set_window_pos( struct window *win, struct window *previous,
         }
     }
 
-    if (exposed_rgn && !(swp_flags & SWP_SHOWWINDOW))
+    if (exposed_rgn)
         redraw_window( win, exposed_rgn, 1, RDW_INVALIDATE | RDW_ERASE | RDW_FRAME | RDW_ALLCHILDREN );
 
 done:
-- 
1.7.11.6



Подробная информация о списке рассылки Wine-patches