Anyone remember winemine?
William Poetra Yoga H
williampoetra at yahoo.com
Sun May 1 22:45:46 CDT 2005
Hi, anyone here remember winemine? The whole window just shifts down by one
pixel whenever we click the smiley in the middle. This patch fixes it.
P.S: Sorry about my last patch, I didn't check that nonclient.c has moved from
windows/ to dlls/user/ :P
William Poetra Yoga Hadisoeseno
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
Index: dlls/user/nonclient.c
===================================================================
RCS file: /home/wine/wine/dlls/user/nonclient.c,v
retrieving revision 1.1
diff -p -u -r1.1 nonclient.c
--- dlls/user/nonclient.c 25 Apr 2005 11:33:36 -0000 1.1
+++ dlls/user/nonclient.c 2 May 2005 03:38:54 -0000
@@ -398,7 +398,7 @@ LONG NC_HandleNCCalcSize( HWND hwnd, REC
winRect->top +=
MENU_GetMenuBarHeight( hwnd,
winRect->right - winRect->left,
- -tmpRect.left, -tmpRect.top ) + 1;
+ -tmpRect.left, -tmpRect.top );
}
if( exStyle & WS_EX_CLIENTEDGE)
@@ -1025,7 +1025,7 @@ static void NC_DoNCPaint( HWND hwnd, H
TRACE("Calling DrawMenuBar with rect (%ld, %ld)-(%ld, %ld)\n",
r.left, r.top, r.right, r.bottom);
- rect.top += MENU_DrawMenuBar( hdc, &r, hwnd, suppress_menupaint ) + 1;
+ rect.top += MENU_DrawMenuBar( hdc, &r, hwnd, suppress_menupaint );
}
TRACE("After MenuBar, rect is (%ld, %ld)-(%ld, %ld).\n",
More information about the wine-devel
mailing list