aboutsummarylogtreecommitdiffstats
path: root/sgr-mouse-mode.patch
diff options
context:
space:
mode:
authorDaniel Hahler2017-05-07 02:51:53 +0200
committerDaniel Hahler2017-05-07 02:51:53 +0200
commitbc6191bb60f7ca3a400ddbac3d24967b0537fbb3 (patch)
tree4892571fb2482578607af22126c967f6b3914e5b /sgr-mouse-mode.patch
parent4a7554aaf9f2e731a50c6f739291f1729eaa86d8 (diff)
downloadaur-bc6191bb60f7ca3a400ddbac3d24967b0537fbb3.tar.gz
Update sgr-mouse-mode.patch for CVS
Diffstat (limited to 'sgr-mouse-mode.patch')
-rw-r--r--sgr-mouse-mode.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/sgr-mouse-mode.patch b/sgr-mouse-mode.patch
index d168ec50f517..c1335dff3d88 100644
--- a/sgr-mouse-mode.patch
+++ b/sgr-mouse-mode.patch
@@ -1,4 +1,5 @@
Source: https://gist.githubusercontent.com/alexoj/df5bae7a4825cb596581/raw/75a1e75c2ae1ec5c0db68a29f8a6821e9e3d87a5/sgr-mouse-mode.patch
+Upated to work with CVS (focus reporting)
--- src/command.C 2014-12-13 13:22:09.000000000 +0100
+++ src/command.C 2016-01-13 04:50:39.161862513 +0100
@@ -1280,6 +1280,8 @@
@@ -68,6 +69,7 @@ Source: https://gist.githubusercontent.com/alexoj/df5bae7a4825cb596581/raw/75a1e
{ 1002, PrivMode_MouseBtnEvent },
{ 1003, PrivMode_MouseAnyEvent },
#if ENABLE_FRILLS
+ { 1004, PrivMode_FocusEvent },
{ 1005, PrivMode_ExtModeMouse },
+ { 1006, PrivMode_ExtMouseSgr },
#endif
@@ -85,7 +87,8 @@ Source: https://gist.githubusercontent.com/alexoj/df5bae7a4825cb596581/raw/75a1e
#define PrivMode_ExtModeMouse (1UL<<23) // xterm pseudo-utf-8 hack
#define PrivMode_ExtMouseRight (1UL<<24) // xterm pseudo-utf-8, but works in non-utf-8-locales
#define PrivMode_BlinkingCursor (1UL<<25)
-+#define PrivMode_ExtMouseSgr (1UL<<26) // sgr mouse extension
+ #define PrivMode_FocusEvent (1UL<<26)
++#define PrivMode_ExtMouseSgr (1UL<<27) // sgr mouse extension
#define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent)