Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/screen.c @ 1563:c1d0f906d379
Add option "use_mouse"
author | franky |
---|---|
date | Thu, 06 Nov 2008 08:15:47 +0100 |
parents | 2e86c1cc4eb1 |
children | d64e0b2855fc |
comparison
equal
deleted
inserted
replaced
1561:2e86c1cc4eb1 | 1563:c1d0f906d379 |
---|---|
732 nonl(); | 732 nonl(); |
733 intrflush(stdscr, FALSE); | 733 intrflush(stdscr, FALSE); |
734 start_color(); | 734 start_color(); |
735 use_default_colors(); | 735 use_default_colors(); |
736 #ifdef NCURSES_MOUSE_VERSION | 736 #ifdef NCURSES_MOUSE_VERSION |
737 mousemask(ALL_MOUSE_EVENTS, NULL); | 737 if (settings_opt_get_int("use_mouse")) |
738 mousemask(ALL_MOUSE_EVENTS, NULL); | |
738 #endif | 739 #endif |
739 | 740 |
740 if (settings_opt_get("escdelay")) { | 741 if (settings_opt_get("escdelay")) { |
741 #ifdef HAVE_ESCDELAY | 742 #ifdef HAVE_ESCDELAY |
742 ESCDELAY = (unsigned) settings_opt_get_int("escdelay"); | 743 ESCDELAY = (unsigned) settings_opt_get_int("escdelay"); |