From baa46723781740c968143c044bf0969d4a1327c8 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Thu, 10 Dec 2009 12:19:49 -0600 Subject: [PATCH 1/3] 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; -- 1.6.3.3