diff options
Diffstat (limited to 'oldresources/st/patch/keyboardselect_x.c')
| -rw-r--r-- | oldresources/st/patch/keyboardselect_x.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/oldresources/st/patch/keyboardselect_x.c b/oldresources/st/patch/keyboardselect_x.c new file mode 100644 index 0000000..16af3e1 --- /dev/null +++ b/oldresources/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 |
