Mercurial > vim
comparison src/os_unix.c @ 5932:06c10522d321 v7.4.307
updated for version 7.4.307
Problem: Can't build without the +termresponse feature.
Solution: Add proper #ifdefs.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 22 May 2014 21:22:19 +0200 |
parents | 63e7cc62402d |
children | 182c7b987283 |
comparison
equal
deleted
inserted
replaced
5931:4b888397094f | 5932:06c10522d321 |
---|---|
3741 | 3741 |
3742 # ifdef FEAT_MOUSE_DEC | 3742 # ifdef FEAT_MOUSE_DEC |
3743 /* Conflicts with xterm mouse: "\033[" and "\033[M". | 3743 /* Conflicts with xterm mouse: "\033[" and "\033[M". |
3744 * Also conflicts with the xterm termresponse, skip this if it was | 3744 * Also conflicts with the xterm termresponse, skip this if it was |
3745 * requested already. */ | 3745 * requested already. */ |
3746 if (!use_xterm_mouse() && !did_request_esc_sequence() | 3746 if (!use_xterm_mouse() |
3747 # ifdef FEAT_TERMRESPONSE | |
3748 && !did_request_esc_sequence() | |
3749 # endif | |
3747 # ifdef FEAT_GUI | 3750 # ifdef FEAT_GUI |
3748 && !gui.in_use | 3751 && !gui.in_use |
3749 # endif | 3752 # endif |
3750 ) | 3753 ) |
3751 { | 3754 { |
3756 else | 3759 else |
3757 del_mouse_termcode(KS_DEC_MOUSE); | 3760 del_mouse_termcode(KS_DEC_MOUSE); |
3758 # endif | 3761 # endif |
3759 # ifdef FEAT_MOUSE_PTERM | 3762 # ifdef FEAT_MOUSE_PTERM |
3760 /* same as the dec mouse */ | 3763 /* same as the dec mouse */ |
3761 if (!use_xterm_mouse() && !did_request_esc_sequence() | 3764 if (!use_xterm_mouse() |
3765 # ifdef FEAT_TERMRESPONSE | |
3766 && !did_request_esc_sequence() | |
3767 # endif | |
3762 # ifdef FEAT_GUI | 3768 # ifdef FEAT_GUI |
3763 && !gui.in_use | 3769 && !gui.in_use |
3764 # endif | 3770 # endif |
3765 ) | 3771 ) |
3766 { | 3772 { |
3771 else | 3777 else |
3772 del_mouse_termcode(KS_PTERM_MOUSE); | 3778 del_mouse_termcode(KS_PTERM_MOUSE); |
3773 # endif | 3779 # endif |
3774 # ifdef FEAT_MOUSE_URXVT | 3780 # ifdef FEAT_MOUSE_URXVT |
3775 /* same as the dec mouse */ | 3781 /* same as the dec mouse */ |
3776 if (use_xterm_mouse() == 3 && !did_request_esc_sequence() | 3782 if (use_xterm_mouse() == 3 |
3783 # ifdef FEAT_TERMRESPONSE | |
3784 && !did_request_esc_sequence() | |
3785 # endif | |
3777 # ifdef FEAT_GUI | 3786 # ifdef FEAT_GUI |
3778 && !gui.in_use | 3787 && !gui.in_use |
3779 # endif | 3788 # endif |
3780 ) | 3789 ) |
3781 { | 3790 { |