winemac: Don't allow double-clicks in the content area to zoom the window.
Ken Thomases
ken at codeweavers.com
Mon Oct 27 22:54:29 CDT 2014
On Yosemite, double-clicking a window's title bar zooms it. (This is to
compensate for the fact that the zoom button has been replaced by a full-screen
button.) Sometimes, double-clicking in the content area would count as double-
clicking in the title bar.
This is controlled, in part, by the -mouseDownCanMoveWindow method of the view
that was hit in the window. The default implementation of that returns YES
for non-opaque views, as the views are in the Mac driver. Overriding it to
return NO prevents the problem.
---
dlls/winemac.drv/cocoa_window.m | 5 +++++
1 file changed, 5 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winemac-Don-t-allow-double-clicks-in-the-content-are.patch
Type: text/x-patch
Size: 451 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141027/1bed6bed/attachment.bin>
More information about the wine-patches
mailing list