summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-19 14:48:50 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-19 14:48:50 +0000
commit2c2e3d8ab298b1f6bde3dc5f1125fd1a3c8c2ef4 (patch)
tree385d227b14f853b5dd70a214dc516f7f594581a2 /crawl-ref/source/libunix.cc
parent915e0447769e55f94969d7ea9a0973987f97f905 (diff)
downloadcrawl-ref-2c2e3d8ab298b1f6bde3dc5f1125fd1a3c8c2ef4.tar.gz
crawl-ref-2c2e3d8ab298b1f6bde3dc5f1125fd1a3c8c2ef4.zip
Simplified SIGWINCH handling - Crawl only handles SIGWINCH if it's waiting for
a command (i.e. sitting in the main play screen) since it appears that deferred handling causes ncurses strange problems. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1603 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r--crawl-ref/source/libunix.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc
index a1d8b5e0ce..27f6233cbc 100644
--- a/crawl-ref/source/libunix.cc
+++ b/crawl-ref/source/libunix.cc
@@ -253,8 +253,6 @@ static void handle_sigwinch(int)
{
if (crawl_state.waiting_for_comand)
handle_terminal_resize();
- else
- crawl_state.terminal_resized = true;
}
#ifdef SIGHUP_SAVE