… | |
… | |
9 | * - extensive modifications |
9 | * - extensive modifications |
10 | * Copyright (c) 1998-2001 Geoff Wing <gcw@pobox.com> |
10 | * Copyright (c) 1998-2001 Geoff Wing <gcw@pobox.com> |
11 | * - extensive modifications |
11 | * - extensive modifications |
12 | * Copyright (c) 1999 D J Hawkey Jr <hawkeyd@visi.com> |
12 | * Copyright (c) 1999 D J Hawkey Jr <hawkeyd@visi.com> |
13 | * - QNX support |
13 | * - QNX support |
14 | * Copyright (c) 2003-2004 Marc Lehmann <pcg@goof.com> |
14 | * Copyright (c) 2003-2006 Marc Lehmann <pcg@goof.com> |
15 | * |
15 | * |
16 | * This program is free software; you can redistribute it and/or modify |
16 | * This program is free software; you can redistribute it and/or modify |
17 | * it under the terms of the GNU General Public License as published by |
17 | * it under the terms of the GNU General Public License as published by |
18 | * the Free Software Foundation; either version 2 of the License, or |
18 | * the Free Software Foundation; either version 2 of the License, or |
19 | * (at your option) any later version. |
19 | * (at your option) any later version. |
… | |
… | |
391 | pointerBlankDelay = 2; |
391 | pointerBlankDelay = 2; |
392 | #endif |
392 | #endif |
393 | |
393 | |
394 | /* no point having a scrollbar without having any scrollback! */ |
394 | /* no point having a scrollbar without having any scrollback! */ |
395 | if (!saveLines) |
395 | if (!saveLines) |
396 | CLR_OPTION (Opt_scrollBar); |
396 | set_option (Opt_scrollBar, 0); |
397 | |
397 | |
398 | #ifdef PRINTPIPE |
398 | #ifdef PRINTPIPE |
399 | if (!rs[Rs_print_pipe]) |
399 | if (!rs[Rs_print_pipe]) |
400 | rs[Rs_print_pipe] = PRINTPIPE; |
400 | rs[Rs_print_pipe] = PRINTPIPE; |
401 | #endif |
401 | #endif |
… | |
… | |
1091 | |
1091 | |
1092 | vt_emask = ExposureMask | ButtonPressMask | ButtonReleaseMask | PropertyChangeMask; |
1092 | vt_emask = ExposureMask | ButtonPressMask | ButtonReleaseMask | PropertyChangeMask; |
1093 | |
1093 | |
1094 | if (OPTION (Opt_pointerBlank) |
1094 | if (OPTION (Opt_pointerBlank) |
1095 | #ifdef ENABLE_PERL |
1095 | #ifdef ENABLE_PERL |
1096 | || self |
1096 | || perl.self |
1097 | #endif |
1097 | #endif |
1098 | ) |
1098 | ) |
1099 | vt_emask |= PointerMotionMask; |
1099 | vt_emask |= PointerMotionMask; |
1100 | else |
1100 | else |
1101 | vt_emask |= Button1MotionMask | Button3MotionMask; |
1101 | vt_emask |= Button1MotionMask | Button3MotionMask; |