-retro enables zapping

This commit is contained in:
Adam Jackson 2008-10-07 20:32:02 -04:00
parent 9d135ac10a
commit 42e7b64bf9
2 changed files with 2 additions and 1 deletions

View File

@ -1925,7 +1925,7 @@ KdCheckSpecialKeys(KdKeyboardInfo *ki, int type, int sym)
* Set the dispatch exception flag so the server will terminate the * Set the dispatch exception flag so the server will terminate the
* next time through the dispatch loop. * next time through the dispatch loop.
*/ */
if (kdAllowZap) if (kdAllowZap || party_like_its_1989)
dispatchException |= DE_TERMINATE; dispatchException |= DE_TERMINATE;
break; break;
} }

View File

@ -876,6 +876,7 @@ configServerFlags(XF86ConfFlagsPtr flagsconf, XF86OptionPtr layoutopts)
xf86GetOptValBool(FlagOptions, FLAG_NOTRAPSIGNALS, &xf86Info.notrapSignals); xf86GetOptValBool(FlagOptions, FLAG_NOTRAPSIGNALS, &xf86Info.notrapSignals);
xf86GetOptValBool(FlagOptions, FLAG_DONTVTSWITCH, &xf86Info.dontVTSwitch); xf86GetOptValBool(FlagOptions, FLAG_DONTVTSWITCH, &xf86Info.dontVTSwitch);
xf86GetOptValBool(FlagOptions, FLAG_DONTZAP, &xf86Info.dontZap); xf86GetOptValBool(FlagOptions, FLAG_DONTZAP, &xf86Info.dontZap);
xf86Info.dontZap |= party_like_its_1989;
xf86GetOptValBool(FlagOptions, FLAG_DONTZOOM, &xf86Info.dontZoom); xf86GetOptValBool(FlagOptions, FLAG_DONTZOOM, &xf86Info.dontZoom);
xf86GetOptValBool(FlagOptions, FLAG_IGNORE_ABI, &xf86Info.ignoreABI); xf86GetOptValBool(FlagOptions, FLAG_IGNORE_ABI, &xf86Info.ignoreABI);