From: Jilles Tjoelker Date: Tue, 6 Jan 2004 14:27:56 +0000 (+0000) Subject: Reset SIGWINCH to default before starting game to prevent that window resizes X-Git-Tag: v1.6.1-roc-dev~588 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=c2be1a888226b08092643e5b716a8560eea47598;p=dgamelaunch Reset SIGWINCH to default before starting game to prevent that window resizes during play cause disconnects. git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@110 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/dgamelaunch.c b/dgamelaunch.c index 4d523f2..c8ee8ca 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -1439,6 +1439,7 @@ main (int argc, char** argv) purge_stale_locks (); endwin (); + signal(SIGWINCH, SIG_DFL); /* environment */ snprintf (atrcfilename, 81, "@%s", rcfilename);