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.
This commit is contained in:
parent
7a610a9072
commit
decf64b86c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue