From b1f77e2684e85fac5ef5d50fc1342d7d53e5a492 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Wed, 21 Apr 2004 19:06:18 +0000 Subject: Fixed resize handling (SIGWINCH). git-svn-id: https://svn.musicpd.org/ncmpc/trunk@871 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- main.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'main.c') 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; -- cgit v1.2.3