Mercurial > vim
comparison src/structs.h @ 17051:221d4b82bc0b v8.1.1525
patch 8.1.1525: cannot move a popup window with the mouse
commit https://github.com/vim/vim/commit/b53fb31a1e27a806396e38592055cfb3ebf43cf9
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 13 23:59:52 2019 +0200
patch 8.1.1525: cannot move a popup window with the mouse
Problem: Cannot move a popup window with the mouse.
Solution: Add the "drag" property and make it possible to drag a popup
window by its border.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 14 Jun 2019 00:00:08 +0200 |
parents | 6400d1ad5e4b |
children | 620e9011b685 |
comparison
equal
deleted
inserted
replaced
17050:f7293a729741 | 17051:221d4b82bc0b |
---|---|
2907 | 2907 |
2908 win_T *w_popup_curwin; // close popup if curwin differs | 2908 win_T *w_popup_curwin; // close popup if curwin differs |
2909 linenr_T w_popup_lnum; // close popup if cursor not on this line | 2909 linenr_T w_popup_lnum; // close popup if cursor not on this line |
2910 colnr_T w_popup_mincol; // close popup if cursor before this col | 2910 colnr_T w_popup_mincol; // close popup if cursor before this col |
2911 colnr_T w_popup_maxcol; // close popup if cursor after this col | 2911 colnr_T w_popup_maxcol; // close popup if cursor after this col |
2912 int w_popup_drag; // allow moving the popup with the mouse | |
2912 | 2913 |
2913 # if defined(FEAT_TIMERS) | 2914 # if defined(FEAT_TIMERS) |
2914 timer_T *w_popup_timer; // timer for closing popup window | 2915 timer_T *w_popup_timer; // timer for closing popup window |
2915 # endif | 2916 # endif |
2916 #endif | 2917 #endif |