st/patch/keyboardselect_x.c

7 lines
147 B
C
Raw Normal View History

2019-10-16 08:28:00 +02:00
void toggle_winmode(int flag) {
win.mode ^= flag;
}
void keyboard_select(const Arg *dummy) {
win.mode ^= trt_kbdselect(-1, NULL, 0);
}