Remove optimization in NC_HandleNCActivate.
This commit is contained in:
parent
8a05b831de
commit
d1e648f0d2
|
@ -1754,12 +1754,11 @@ LONG NC_HandleNCPaint( HWND hwnd , HRGN clip)
|
|||
*/
|
||||
LONG NC_HandleNCActivate( WND *wndPtr, WPARAM16 wParam )
|
||||
{
|
||||
WORD wStateChange;
|
||||
|
||||
if( wParam ) wStateChange = !(wndPtr->flags & WIN_NCACTIVATED);
|
||||
else wStateChange = wndPtr->flags & WIN_NCACTIVATED;
|
||||
|
||||
if( wStateChange )
|
||||
/* Lotus Notes draws menu descriptions in the caption of its main
|
||||
* window. When it wants to restore original "system" view, it just
|
||||
* sends WM_NCACTIVATE message to itself. Any optimizations here in
|
||||
* attempt to minimize redrawings lead to a not restored caption.
|
||||
*/
|
||||
{
|
||||
if (wParam) wndPtr->flags |= WIN_NCACTIVATED;
|
||||
else wndPtr->flags &= ~WIN_NCACTIVATED;
|
||||
|
|
Loading…
Reference in New Issue