Mercurial > vim
comparison src/window.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 | 0cb608fc9c60 |
children | 99fc29219b3e |
comparison
equal
deleted
inserted
replaced
18353:c3a0f5d3c9d4 | 18354:9f51d0cef8da |
---|---|
5723 first = FALSE; | 5723 first = FALSE; |
5724 } | 5724 } |
5725 } | 5725 } |
5726 } | 5726 } |
5727 | 5727 |
5728 #if defined(FEAT_MOUSE) || defined(PROTO) | |
5729 | |
5730 /* | 5728 /* |
5731 * Status line of dragwin is dragged "offset" lines down (negative is up). | 5729 * Status line of dragwin is dragged "offset" lines down (negative is up). |
5732 */ | 5730 */ |
5733 void | 5731 void |
5734 win_drag_status_line(win_T *dragwin, int offset) | 5732 win_drag_status_line(win_T *dragwin, int offset) |
5956 fr = fr->fr_next; | 5954 fr = fr->fr_next; |
5957 } | 5955 } |
5958 (void)win_comp_pos(); | 5956 (void)win_comp_pos(); |
5959 redraw_all_later(NOT_VALID); | 5957 redraw_all_later(NOT_VALID); |
5960 } | 5958 } |
5961 #endif /* FEAT_MOUSE */ | |
5962 | 5959 |
5963 #define FRACTION_MULT 16384L | 5960 #define FRACTION_MULT 16384L |
5964 | 5961 |
5965 /* | 5962 /* |
5966 * Set wp->w_fraction for the current w_wrow and w_height. | 5963 * Set wp->w_fraction for the current w_wrow and w_height. |