[Bug 889] - WINPOS_GetWinOffset() yields wrong offset

wine-bugs at winehq.com wine-bugs at winehq.com
Sun Jul 21 00:26:58 CDT 2002


http://bugs.winehq.com/show_bug.cgi?id=889





------- Additional Comments From tuiningas_ml at shaw.ca  2002-07-21 00:26 -------
I followed the trail a little bit
further as I noticed that "hot spots" on an image (like buttons) would
fade in and out when the window wasn't at the top left of the screen.
The trail led to the file dlls/x11drv/winpos.c. It is making a call to
MapWindowPoints() which in turn calls WINPOS_GetWinOffset(). If I
eliminate the call to MapWindowPoints() in the function expose_window()
at line 290, (and restore the original version of windows/winpos.c)
everything works beautifully. The window draws itself properly and the
buttons work as expected. I am not all that familiar with Wine code,
though, so can anyone think of a good reason why this code ought to be
there? Should I submit a patch? And if so, can anyone point me to the
method required for doing so? Thanks.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=889>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list