2019-09-16 12:40:07 +02:00
|
|
|
/* Patches */
|
|
|
|
|
2019-09-17 08:53:00 +02:00
|
|
|
#if BOXDRAW_PATCH
|
|
|
|
#include "boxdraw.c"
|
|
|
|
#endif
|
|
|
|
|
2019-09-16 12:40:07 +02:00
|
|
|
#if OPENCOPIED_PATCH
|
|
|
|
#include "opencopied.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if FIXIME_PATCH
|
|
|
|
#include "fixime.c"
|
2019-09-16 14:21:09 +02:00
|
|
|
#endif
|
|
|
|
|
2019-09-17 08:53:00 +02:00
|
|
|
#if FIXKEYBOARDINPUT_PATCH
|
|
|
|
#include "fixkeyboardinput.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if KEYBOARDSELECT_PATCH
|
|
|
|
void toggle_winmode(int flag) {
|
|
|
|
win.mode ^= flag;
|
|
|
|
}
|
|
|
|
|
|
|
|
void keyboard_select(const Arg *dummy) {
|
|
|
|
win.mode ^= trt_kbdselect(-1, NULL, 0);
|
|
|
|
}
|
|
|
|
#endif // KEYBOARDSELECT_PATCH
|
|
|
|
|
|
|
|
#if RIGHTCLICKTOPLUMB_PATCH
|
|
|
|
#include "rightclicktoplumb_x.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if VISUALBELL_2_PATCH || VISUALBELL_3_PATCH
|
|
|
|
#include "visualbell.c"
|
|
|
|
#endif
|
|
|
|
|
2019-09-16 14:21:09 +02:00
|
|
|
#if XRESOURCES_PATCH
|
|
|
|
#include "xresources.c"
|
2019-09-16 12:40:07 +02:00
|
|
|
#endif
|