st/patch/keyboardselect_x.c

7 lines
147 B
C
Raw Permalink Normal View History

2023-10-24 12:44:14 +02:00
void toggle_winmode(int flag) {
win.mode ^= flag;
}
void keyboard_select(const Arg *dummy) {
win.mode ^= trt_kbdselect(-1, NULL, 0);
}