summaryrefslogtreecommitdiff
path: root/archive/st/patch/keyboardselect_x.c
diff options
context:
space:
mode:
authorauric <104602845+ihateamongus@users.noreply.github.com>2025-09-08 21:19:14 -0500
committerauric <104602845+ihateamongus@users.noreply.github.com>2025-09-08 21:19:14 -0500
commite61da07522a060da98fa3a56db3d0360469b26cf (patch)
treec72d276bffa4dafe22ae0e4f694acfadb40b8ca1 /archive/st/patch/keyboardselect_x.c
parentd11aec86841f77edd6eba3e07aa1e7e591e9da2a (diff)
organize repository layout
Diffstat (limited to 'archive/st/patch/keyboardselect_x.c')
-rw-r--r--archive/st/patch/keyboardselect_x.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/archive/st/patch/keyboardselect_x.c b/archive/st/patch/keyboardselect_x.c
new file mode 100644
index 0000000..16af3e1
--- /dev/null
+++ b/archive/st/patch/keyboardselect_x.c
@@ -0,0 +1,7 @@
+void toggle_winmode(int flag) {
+ win.mode ^= flag;
+}
+
+void keyboard_select(const Arg *dummy) {
+ win.mode ^= trt_kbdselect(-1, NULL, 0);
+} \ No newline at end of file