Input: Make DontZap the default
If you need to bail out the server, use Ctrl-Alt-Fx, or enable zapping if it bothers you that much. If Ctrl-Alt-Fx is broken, nag me until it's permanently fixed.
This commit is contained in:
parent
b574365fca
commit
9d135ac10a
|
@ -76,7 +76,7 @@ unsigned long kdVideoTestTime;
|
|||
Bool kdEmulateMiddleButton;
|
||||
Bool kdRawPointerCoordinates;
|
||||
Bool kdDisableZaphod;
|
||||
Bool kdDontZap;
|
||||
Bool kdAllowZap;
|
||||
Bool kdEnabled;
|
||||
int kdSubpixelOrder;
|
||||
int kdVirtualTerminal = -1;
|
||||
|
@ -613,9 +613,9 @@ KdProcessArgument (int argc, char **argv, int i)
|
|||
kdDisableZaphod = TRUE;
|
||||
return 1;
|
||||
}
|
||||
if (!strcmp (argv[i], "-nozap"))
|
||||
if (!strcmp (argv[i], "-zap"))
|
||||
{
|
||||
kdDontZap = TRUE;
|
||||
kdAllowZap = TRUE;
|
||||
return 1;
|
||||
}
|
||||
if (!strcmp (argv[i], "-3button"))
|
||||
|
|
|
@ -1921,11 +1921,11 @@ KdCheckSpecialKeys(KdKeyboardInfo *ki, int type, int sym)
|
|||
case XK_BackSpace:
|
||||
case XK_Delete:
|
||||
case XK_KP_Delete:
|
||||
/*
|
||||
/*
|
||||
* Set the dispatch exception flag so the server will terminate the
|
||||
* next time through the dispatch loop.
|
||||
*/
|
||||
if (kdDontZap == FALSE)
|
||||
if (kdAllowZap)
|
||||
dispatchException |= DE_TERMINATE;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -766,7 +766,7 @@ static OptionInfoRec FlagOptions[] = {
|
|||
{ FLAG_DONTVTSWITCH, "DontVTSwitch", OPTV_BOOLEAN,
|
||||
{0}, FALSE },
|
||||
{ FLAG_DONTZAP, "DontZap", OPTV_BOOLEAN,
|
||||
{0}, FALSE },
|
||||
{0}, TRUE },
|
||||
{ FLAG_DONTZOOM, "DontZoom", OPTV_BOOLEAN,
|
||||
{0}, FALSE },
|
||||
{ FLAG_DISABLEVIDMODE, "DisableVidModeExtension", OPTV_BOOLEAN,
|
||||
|
|
Loading…
Reference in New Issue
Block a user