Mercurial > vim
comparison src/mouse.c @ 28303:9849df834f1d v8.2.4677
patch 8.2.4677: the Athena GUI support is outdated
Commit: https://github.com/vim/vim/commit/0b962e5685edd41b55d5427b894797e725707639
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 3 18:02:37 2022 +0100
patch 8.2.4677: the Athena GUI support is outdated
Problem: The Athena GUI support is outdated.
Solution: Remove the Athena GUI code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 03 Apr 2022 19:15:04 +0200 |
parents | 4c60e656e054 |
children | 04310f81143d |
comparison
equal
deleted
inserted
replaced
28302:d81a8f2db704 | 28303:9849df834f1d |
---|---|
113 pos->col = col; | 113 pos->col = col; |
114 } | 114 } |
115 } | 115 } |
116 | 116 |
117 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) \ | 117 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) \ |
118 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) \ | 118 || defined(FEAT_GUI_MSWIN) \ |
119 || defined(FEAT_GUI_PHOTON) \ | 119 || defined(FEAT_GUI_PHOTON) \ |
120 || defined(FEAT_TERM_POPUP_MENU) | 120 || defined(FEAT_TERM_POPUP_MENU) |
121 # define USE_POPUP_SETPOS | 121 # define USE_POPUP_SETPOS |
122 # define NEED_VCOL2COL | 122 # define NEED_VCOL2COL |
123 | 123 |
537 if (!is_click) | 537 if (!is_click) |
538 // Ignore right button release events, only shows the popup | 538 // Ignore right button release events, only shows the popup |
539 // menu on the button down event. | 539 // menu on the button down event. |
540 return FALSE; | 540 return FALSE; |
541 # endif | 541 # endif |
542 # if defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_HAIKU) | 542 # if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_HAIKU) |
543 if (is_click || is_drag) | 543 if (is_click || is_drag) |
544 // Ignore right button down and drag mouse events. Windows | 544 // Ignore right button down and drag mouse events. Windows |
545 // only shows the popup menu on the button up event. | 545 // only shows the popup menu on the button up event. |
546 return FALSE; | 546 return FALSE; |
547 # endif | 547 # endif |