Skip to content
Snippets Groups Projects
Commit d1e648f0 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard
Browse files

Remove optimization in NC_HandleNCActivate.

parent 8a05b831
No related branches found
No related tags found
No related merge requests found
...@@ -1754,12 +1754,11 @@ LONG NC_HandleNCPaint( HWND hwnd , HRGN clip) ...@@ -1754,12 +1754,11 @@ LONG NC_HandleNCPaint( HWND hwnd , HRGN clip)
*/ */
LONG NC_HandleNCActivate( WND *wndPtr, WPARAM16 wParam ) LONG NC_HandleNCActivate( WND *wndPtr, WPARAM16 wParam )
{ {
WORD wStateChange; /* Lotus Notes draws menu descriptions in the caption of its main
* window. When it wants to restore original "system" view, it just
if( wParam ) wStateChange = !(wndPtr->flags & WIN_NCACTIVATED); * sends WM_NCACTIVATE message to itself. Any optimizations here in
else wStateChange = wndPtr->flags & WIN_NCACTIVATED; * attempt to minimize redrawings lead to a not restored caption.
*/
if( wStateChange )
{ {
if (wParam) wndPtr->flags |= WIN_NCACTIVATED; if (wParam) wndPtr->flags |= WIN_NCACTIVATED;
else wndPtr->flags &= ~WIN_NCACTIVATED; else wndPtr->flags &= ~WIN_NCACTIVATED;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment