Author: fireball Date: Wed Dec 30 18:07:31 2009 New Revision: 44815
URL: http://svn.reactos.org/svn/reactos?rev=44815&view=rev Log: - Enable window contents copying in certain cases (like movement of a child window), which works beautifully now after fix from r44814.
Modified: branches/arwinss/reactos/dll/win32/winent.drv/userdrv.c
Modified: branches/arwinss/reactos/dll/win32/winent.drv/userdrv.c URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/dll/win32/winent... ============================================================================== --- branches/arwinss/reactos/dll/win32/winent.drv/userdrv.c [iso-8859-1] (original) +++ branches/arwinss/reactos/dll/win32/winent.drv/userdrv.c [iso-8859-1] Wed Dec 30 18:07:31 2009 @@ -815,7 +815,7 @@ !(data = NTDRV_create_win_data( hwnd ))) return;
/* Do some magic... */ - FIXME("Window %x is being made visible1\n", hwnd); + TRACE("Window %x is being made visible1\n", hwnd); }
if (offset == GWL_STYLE && (changed & WS_DISABLED)) @@ -922,20 +922,18 @@ { /* if we have an SWM window the bits will be moved by the SWM */ if (!data->whole_window) - ;//move_window_bits( data, &old_whole_rect, &data->whole_rect, &old_client_rect ); - //FIXME("change1\n"); + move_window_bits( data, &old_whole_rect, &data->whole_rect, &old_client_rect ); } else { - //move_window_bits( data, &valid_rects[1], &valid_rects[0], &old_client_rect ); - //FIXME("change2, vrects[0] %s, vrects[1] %s\n", wine_dbgstr_rect(&valid_rects[0]), wine_dbgstr_rect(&valid_rects[1])); + move_window_bits( data, &valid_rects[1], &valid_rects[0], &old_client_rect ); } }
if (!data->whole_window) return;
/* Sync position change */ - if (!(swp_flags & SWP_NOREDRAW)) // HACK: When removing this explorer's start menu start to appear partially. Investigate! + if (!(swp_flags & SWP_NOREDRAW)) // HACK: When removing this, explorer's start menu starts to appear partially. Investigate! SwmPosChanged(hwnd, &data->whole_rect, &old_whole_rect, insert_after, swp_flags);
/* Pass show/hide information to the window manager */