From 6f8cedb1bc147f2d05d63c2c085b2791fd841c19 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 24 Nov 2016 18:45:45 +0000 Subject: The mouse valid flag needs to be correct before we fire the dragging callback, so move the callback outside of server_client_check_mouse and use a new special key code to indicate it. --- tmux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index ff5fb184..f4674e2e 100644 --- a/tmux.h +++ b/tmux.h @@ -135,6 +135,7 @@ enum { /* Mouse keys. */ KEYC_MOUSE, /* unclassified mouse event */ + KEYC_DRAGGING, /* dragging in progress */ KEYC_MOUSE_KEY(MOUSEDOWN1), KEYC_MOUSE_KEY(MOUSEDOWN2), KEYC_MOUSE_KEY(MOUSEDOWN3), -- cgit