user32: Delete the function parameter that don't use and some calls of NC_DrawSysButton

Ilya Shpigor shpigor at
Mon Dec 8 07:26:53 CST 2008


I faced with the problem. The sysmenu icons redraw often and this slows the 
work of some applications.

NC_DrawSysButton function draws this icons. There is one parameter of the 
function that don't really used. This is "down" of BOOL type. I suppose, that 
some calls of NC_DrawSysButton with TRUE value of down parameter can be 
skiped, because Its don't do anything except redraw icons.

Can this patch solve my problem and be correct?

Best regards
        Ilya Shpigor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Delete-unusable-function-parameter-and-calls.patch
Type: text/x-diff
Size: 3134 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list