diff options
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3071,6 +3071,9 @@ gui_send_mouse_event( */ switch (button) { + case MOUSE_MOVE: + button_char = KE_MOUSEMOVE_XY; + goto button_set; case MOUSE_X1: button_char = KE_X1MOUSE; goto button_set; @@ -4925,7 +4928,7 @@ gui_mouse_moved(int x, int y) if (popup_visible) // Generate a mouse-moved event, so that the popup can perhaps be // closed, just like in the terminal. - gui_send_mouse_event(MOUSE_DRAG, x, y, FALSE, 0); + gui_send_mouse_event(MOUSE_MOVE, x, y, FALSE, 0); #endif } |