mirror of
https://github.com/LukeSmithxyz/st.git
synced 2025-04-05 02:41:10 +02:00
fixed mistakes on win.h portion of keyboard select patch file
This commit is contained in:
parent
c0d88f907b
commit
3403a97885
1 changed files with 3 additions and 19 deletions
|
@ -270,24 +270,7 @@ diff --git a/win.h b/win.h
|
||||||
index 31f327d..75a2756 100644
|
index 31f327d..75a2756 100644
|
||||||
--- a/win.h
|
--- a/win.h
|
||||||
+++ b/win.h
|
+++ b/win.h
|
||||||
@@ -3,23 +3,24 @@ enum win_mode {
|
@@ -21,6 +21,7 @@ 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_NUMLOCK = 1 << 17,
|
||||||
MODE_MOUSE = MODE_MOUSEBTN|MODE_MOUSEMOTION|MODE_MOUSEX10\
|
MODE_MOUSE = MODE_MOUSEBTN|MODE_MOUSEMOTION|MODE_MOUSEX10\
|
||||||
|MODE_MOUSEMANY,
|
|MODE_MOUSEMANY,
|
||||||
|
@ -295,12 +278,13 @@ index 31f327d..75a2756 100644
|
||||||
};
|
};
|
||||||
|
|
||||||
void xbell(void);
|
void xbell(void);
|
||||||
@@ -35,3 +36,5 @@ void xsetmode(int, unsigned int);
|
@@ -36,4 +37,6 @@ void xsetmode(int, unsigned int);
|
||||||
void xsetpointermotion(int);
|
void xsetpointermotion(int);
|
||||||
void xsetsel(char *);
|
void xsetsel(char *);
|
||||||
int xstartdraw(void);
|
int xstartdraw(void);
|
||||||
+void toggle_winmode(int);
|
+void toggle_winmode(int);
|
||||||
+void keyboard_select(const Arg *);
|
+void keyboard_select(const Arg *);
|
||||||
|
void xximspot(int, int);
|
||||||
diff --git a/x.c b/x.c
|
diff --git a/x.c b/x.c
|
||||||
index 0422421..f5fa3e2 100644
|
index 0422421..f5fa3e2 100644
|
||||||
--- a/x.c
|
--- a/x.c
|
||||||
|
|
Loading…
Add table
Reference in a new issue