Vincent Povirk : wineboot: Do not force --kill when --end-session is set.
Alexandre Julliard
julliard at winehq.org
Fri Dec 11 11:04:44 CST 2009
Module: wine
Branch: master
Commit: decf64b86c437303f2cec6a3a4b009d2f9448974
URL: http://source.winehq.org/git/wine.git/?a=commit;h=decf64b86c437303f2cec6a3a4b009d2f9448974
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Thu Dec 10 12:19:49 2009 -0600
wineboot: Do not force --kill when --end-session is set.
The --kill switch ends processes from all desktops, but --end-session only
applies to the current desktop. This causes windows from other desktops to
dangerously close without notification that the session is ending.
---
programs/wineboot/wineboot.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c
index 2587ef5..60a51b7 100644
--- a/programs/wineboot/wineboot.c
+++ b/programs/wineboot/wineboot.c
@@ -956,7 +956,7 @@ int main( int argc, char *argv[] )
{
switch(optc)
{
- case 'e': end_session = kill = 1; break;
+ case 'e': end_session = 1; break;
case 'f': force = 1; break;
case 'i': init = 1; break;
case 'k': kill = 1; break;
More information about the wine-cvs
mailing list