On May 12, 2013, at 3:22 PM, Ken Thomases wrote:

> As mentioned in the other thread, I'm not seeing the problem that this is 
> meant to solve on 10.6.  I will test 10.7+ tomorrow.

OK, I've tested on 10.8 and I see that the zoom button highlights when the 
mouse moves over it, although clicking on it does nothing.

I've also verified with a simple Cocoa test app.  Toggling 
NSResizableWindowMask in the style mask does not seem to affect the zoom 
button.  It works the same in the other direction, too.  If the window starts 
without NSResizableWindowMask in its style mask, then adding it in later 
doesn't enable the zoom button.  I've got some more tests I want to run.

Oddly, the zoom button behaves properly on 10.8 with the Mac driver in 
CrossOver 12.x.  That's because I handled disabled windows somewhat similarly 
to what your patch does, disabling the zoom button explicitly.  However, I also 
disable the resize cursors at the edge by setting the max and min size for the 
window to the current frame size.  We may need to go that route.  I changed it 
for a reason, though, when submitting the Mac driver to Wine.  I wish I could 
remember why. :-/

-Ken



Reply via email to