have core ask windowport if suspend is ok

PORTS: Please make sure I've done the right thing for/to your code.
This patch adds a new winproc that lets the window port approve or cancel
the suspend request - this should take care of the Mac Qt lockup issue.
In addition, Unix suspend is restricted to accounts that can use the shell
if SYSCF is defined.
This commit is contained in:
keni
2010-01-15 17:51:28 +00:00
parent 655adf8535
commit f6e40b8bf8
15 changed files with 54 additions and 6 deletions

View File

@@ -9,11 +9,11 @@
# A value of * allows anyone to enter debugging mode.
WIZARDS=root,games
# Users allowed to use the ! (shell escape) command. Uses the same syntax
# as the WIZARDS option above.
# Users allowed to use the ! (shell escape) command or to suspend the game.
# Uses the same syntax as the WIZARDS option above.
#SHELLERS=
# Limit the number of simultaneous games (see also and nethack.sh).
# Limit the number of simultaneous games (see also nethack.sh).
MAXPLAYERS=10
# If not null, added to string "To get local support, " in the support