aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-04-21 19:06:18 +0000
committerKalle Wallin <kaw@linux.se>2004-04-21 19:06:18 +0000
commitb1f77e2684e85fac5ef5d50fc1342d7d53e5a492 (patch)
tree7727ec3010c4368f59b19a3e246f8d62cc8944d5 /main.c
parent41d5f057a8e0fa8ed4a0c8465ce8a1d0e7ab8e1a (diff)
downloadmpd-b1f77e2684e85fac5ef5d50fc1342d7d53e5a492.tar.gz
mpd-b1f77e2684e85fac5ef5d50fc1342d7d53e5a492.tar.xz
mpd-b1f77e2684e85fac5ef5d50fc1342d7d53e5a492.zip
Fixed resize handling (SIGWINCH).
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@871 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--main.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/main.c b/main.c
index 21fd5ac42..1d4588418 100644
--- a/main.c
+++ b/main.c
@@ -102,15 +102,6 @@ main(int argc, const char *argv[])
perror("signal");
exit(EXIT_FAILURE);
}
- /* setup signal behavior - SIGWINCH */
- sigemptyset( &act.sa_mask );
- act.sa_flags = 0;
- act.sa_handler = screen_resized;
- if( sigaction( SIGWINCH, &act, NULL )<0 )
- {
- perror("sigaction()");
- exit(EXIT_FAILURE);
- }
/* setup signal behavior - SIGTERM */
sigemptyset( &act.sa_mask );
act.sa_flags = 0;