Mercurial > vim
comparison src/ops.c @ 18354:9f51d0cef8da v8.1.2171
patch 8.1.2171: mouse support not always available
Commit: https://github.com/vim/vim/commit/a1cb1d1dce14dd005797590721f1bcd0e7c3b35f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 17 23:00:07 2019 +0200
patch 8.1.2171: mouse support not always available
Problem: Mouse support not always available.
Solution: Enable mouse support also in tiny version. Do not define
FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Oct 2019 23:15:04 +0200 |
parents | fe5afdc03bd2 |
children | 26256dcadd77 |
comparison
equal
deleted
inserted
replaced
18353:c3a0f5d3c9d4 | 18354:9f51d0cef8da |
---|---|
4367 // no screen redraw, so it is done here to remove the inverted | 4367 // no screen redraw, so it is done here to remove the inverted |
4368 // part. | 4368 // part. |
4369 if (!gui_yank) | 4369 if (!gui_yank) |
4370 { | 4370 { |
4371 VIsual_active = FALSE; | 4371 VIsual_active = FALSE; |
4372 #ifdef FEAT_MOUSE | |
4373 setmouse(); | 4372 setmouse(); |
4374 mouse_dragging = 0; | 4373 mouse_dragging = 0; |
4375 #endif | |
4376 may_clear_cmdline(); | 4374 may_clear_cmdline(); |
4377 if ((oap->op_type == OP_YANK | 4375 if ((oap->op_type == OP_YANK |
4378 || oap->op_type == OP_COLON | 4376 || oap->op_type == OP_COLON |
4379 || oap->op_type == OP_FUNCTION | 4377 || oap->op_type == OP_FUNCTION |
4380 || oap->op_type == OP_FILTER) | 4378 || oap->op_type == OP_FILTER) |