Ken Thomases : winemac: Handle a Cocoa quit request as a single-process session shutdown.

Alexandre Julliard julliard at winehq.org
Thu Apr 4 13:54:15 CDT 2013


Module: wine
Branch: master
Commit: fd1e187ac7a2c2f2300c4c8bb4114daa118bd6ae
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fd1e187ac7a2c2f2300c4c8bb4114daa118bd6ae

Author: Ken Thomases <ken at codeweavers.com>
Date:   Wed Apr  3 18:56:55 2013 -0500

winemac: Handle a Cocoa quit request as a single-process session shutdown.

This lets programs ask the user to save documents, etc., and possibly cancel
the quit.

---

 dlls/winemac.drv/cocoa_app.m    |   53 ++++++++++++
 dlls/winemac.drv/event.c        |    8 ++-
 dlls/winemac.drv/macdrv.h       |    1 +
 dlls/winemac.drv/macdrv_cocoa.h |   12 +++
 dlls/winemac.drv/window.c       |  167 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 240 insertions(+), 1 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=fd1e187ac7a2c2f2300c4c8bb4114daa118bd6ae



More information about the wine-cvs mailing list