http://bugs.winehq.org/show_bug.cgi?id=16188
Summary: Wine should prompt users to save files upon system shutdown Product: Wine Version: 1.1.9 Platform: Other URL: http://www.x.org/docs/SM/SMlib.pdf OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
http://groups.google.com/group/comp.emulators.ms-windows.wine/msg/9f45abb0f1... asks, reasonably, "When I have unsaved document in any wine application (like notepad) and I log out or shut down the PC, Wine application doesn't offer me to save the document, it just kills everything. Can something be done about it?"
My google-fu led me to http://lists.freedesktop.org/archives/xdg/2004-August/002898.html which led me to http://www.x.org/docs/SM/xsmp.pdf and http://www.x.org/docs/SM/SMlib.pdf
Wine should probably support those somehow, and use them to notify applications of impending system shutdown.