[PATCH] user32: Use correct offset in GetMenuItemRect.
Mark Harmstone
hellas at burntcomma.com
Tue Apr 14 17:38:24 CDT 2015
MapWindowPoints deals with client coordinates, whereas menu item rects are stored
in window coordinates. GetMenuItemRect should use GetWindowRect as an offset
instead, or it will always be out by the size of the titlebar.
---
dlls/user32/menu.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Use-correct-offset-in-GetMenuItemRect.patch
Type: text/x-patch
Size: 655 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150414/b5664132/attachment.bin>
More information about the wine-patches
mailing list