diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-01-06 20:10:22 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2009-01-06 20:10:22 +0000 |
commit | 9b5f06699b9877e2be67456bd961f05bc16b5c21 (patch) | |
tree | a157e73e8c58366ad4df77e1a75a0b0bfe44ff91 /app/xterm/xcharmouse.h | |
parent | ede91b23abbaccd32a7add936ee11ad2cba9cc60 (diff) |
xterm 238. includes fix for CVE-2008-2383.
Diffstat (limited to 'app/xterm/xcharmouse.h')
-rw-r--r-- | app/xterm/xcharmouse.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/xterm/xcharmouse.h b/app/xterm/xcharmouse.h index c1f257e96..695bbc336 100644 --- a/app/xterm/xcharmouse.h +++ b/app/xterm/xcharmouse.h @@ -1,6 +1,4 @@ -/* - * $XFree86: xc/programs/xterm/xcharmouse.h,v 1.3 2002/08/24 18:54:39 dickey Exp $ - */ +/* $XTermId: xcharmouse.h,v 1.11 2008/10/05 21:18:49 tom Exp $ */ /************************************************************ @@ -44,6 +42,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define SET_BTN_EVENT_MOUSE 1002 #define SET_ANY_EVENT_MOUSE 1003 +#if OPT_FOCUS_EVENT +#define SET_FOCUS_EVENT_MOUSE 1004 /* can be combined with above */ +#endif + #define SET_BUTTON1_MOVE_POINT 2001 /* click1 emit Esc seq to move point*/ #define SET_BUTTON2_MOVE_POINT 2002 /* press2 emit Esc seq to move point*/ #define SET_DBUTTON3_DELETE 2003 /* Double click-3 deletes */ @@ -63,7 +65,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #endif /* OPT_DEC_LOCATOR */ /* Values for screen->send_mouse_pos */ -enum { +typedef enum { MOUSE_OFF ,X10_MOUSE ,VT200_MOUSE @@ -71,6 +73,6 @@ enum { ,BTN_EVENT_MOUSE ,ANY_EVENT_MOUSE ,DEC_LOCATOR -}; +} XtermMouseModes; #endif /* included_xcharmouse_h */ |