From 50e8d543e44f007be18a24010fbfc35eef934ce1 Mon Sep 17 00:00:00 2001 From: Zachary Schlitt Date: Tue, 8 Oct 2019 17:31:55 -0500 Subject: [PATCH] fixed win.h portion of keyboard select patch file - matching line numbers - matching content --- keyboard-select.patch | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/keyboard-select.patch b/keyboard-select.patch index 09529fa..a5a314d 100644 --- a/keyboard-select.patch +++ b/keyboard-select.patch @@ -272,7 +272,24 @@ diff --git a/win.h b/win.h index 31f327d..75a2756 100644 --- a/win.h +++ b/win.h -@@ -21,6 +21,7 @@ enum win_mode { +@@ -3,23 +3,24 @@ enum win_mode { + MODE_VISIBLE = 1 << 0, + MODE_FOCUSED = 1 << 1, + MODE_APPKEYPAD = 1 << 2, + MODE_MOUSEBTN = 1 << 3, + MODE_MOUSEMOTION = 1 << 4, + MODE_REVERSE = 1 << 5, + MODE_KBDLOCK = 1 << 6, + MODE_HIDE = 1 << 7, + MODE_APPCURSOR = 1 << 8, + MODE_MOUSESGR = 1 << 9, + MODE_8BIT = 1 << 10, + MODE_BLINK = 1 << 11, + MODE_FBLINK = 1 << 12, + MODE_FOCUS = 1 << 13, + MODE_MOUSEX10 = 1 << 14, + MODE_MOUSEMANY = 1 << 15, + MODE_BRCKTPASTE = 1 << 16, MODE_NUMLOCK = 1 << 17, MODE_MOUSE = MODE_MOUSEBTN|MODE_MOUSEMOTION|MODE_MOUSEX10\ |MODE_MOUSEMANY, @@ -280,7 +297,7 @@ index 31f327d..75a2756 100644 }; void xbell(void); -@@ -36,3 +37,5 @@ void xsetmode(int, unsigned int); +@@ -35,3 +36,5 @@ void xsetmode(int, unsigned int); void xsetpointermotion(int); void xsetsel(char *); int xstartdraw(void);