Adding note about flexipatch-finalizer

This commit is contained in:
bakkeby 2019-10-16 08:28:00 +02:00
parent cfecd195ba
commit dc915b6056
11 changed files with 25 additions and 42 deletions

1
patch/fixime_st.h Normal file
View file

@ -0,0 +1 @@
void xximspot(int, int);

View file

@ -1,3 +1,2 @@
void toggle_winmode(int);
void keyboard_select(const Arg *);
int trt_kbdselect(KeySym, char *, int);

7
patch/keyboardselect_x.c Normal file
View file

@ -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);
}

2
patch/keyboardselect_x.h Normal file
View file

@ -0,0 +1,2 @@
void toggle_winmode(int);
void keyboard_select(const Arg *);

View file

@ -1,29 +1,22 @@
/* Patches */
#if COPYURL_PATCH || COPYURL_HIGHLIGHT_SELECTED_URLS_PATCH
#include "copyurl.c"
#endif
#if EXTERNALPIPE_PATCH
#include "externalpipe.c"
#endif
#if ISO14755_PATCH
#include "iso14755.c"
#endif
#if KEYBOARDSELECT_PATCH
#include "keyboardselect.c"
#include "keyboardselect_st.c"
#endif
#if RIGHTCLICKTOPLUMB_PATCH
#include "rightclicktoplumb_st.c"
#endif
#if NEWTERM_PATCH
#include "newterm.c"
#endif
#if SCROLLBACK_PATCH || SCROLLBACK_MOUSE_PATCH || SCROLLBACK_MOUSE_ALTSCREEN_PATCH
#include "scrollback.c"
#endif

View file

@ -1,33 +1,25 @@
/* Patches */
#if COPYURL_PATCH || COPYURL_HIGHLIGHT_SELECTED_URLS_PATCH
#include "copyurl.h"
#endif
#if EXTERNALPIPE_PATCH
#include "externalpipe.h"
#endif
#if FIXIME_PATCH
void xximspot(int, int);
#include "fixime_st.h"
#endif
#if ISO14755_PATCH
#include "iso14755.h"
#endif
#if KEYBOARDSELECT_PATCH
#include "keyboardselect.h"
#include "keyboardselect_st.h"
#endif
#if RIGHTCLICKTOPLUMB_PATCH
#include "rightclicktoplumb_st.h"
#endif
#if NEWTERM_PATCH
#include "newterm.h"
#endif
#if SCROLLBACK_PATCH || SCROLLBACK_MOUSE_PATCH || SCROLLBACK_MOUSE_ALTSCREEN_PATCH
#include "scrollback.h"
#endif

View file

@ -1,39 +1,25 @@
/* Patches */
#if BOXDRAW_PATCH
#include "boxdraw.c"
#endif
#if OPENCOPIED_PATCH
#include "opencopied.c"
#endif
#if FIXIME_PATCH
#include "fixime.c"
#endif
#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
#include "keyboardselect_x.c"
#endif
#if RIGHTCLICKTOPLUMB_PATCH
#include "rightclicktoplumb_x.c"
#endif
#if VISUALBELL_2_PATCH || VISUALBELL_3_PATCH
#include "visualbell.c"
#endif
#if XRESOURCES_PATCH
#include "xresources.c"
#endif

View file

@ -1,25 +1,22 @@
/* Patches */
#if BOXDRAW_PATCH
#include "boxdraw.h"
#endif
#if OPENCOPIED_PATCH
#include "opencopied.h"
#endif
#if FIXIME_PATCH
#include "fixime.h"
#include "fixime_x.h"
#endif
#if KEYBOARDSELECT_PATCH
#include "keyboardselect_x.h"
#endif
#if RIGHTCLICKTOPLUMB_PATCH
#include "rightclicktoplumb_x.h"
#endif
#if VISUALBELL_2_PATCH || VISUALBELL_3_PATCH
#include "visualbell.h"
#endif
#if XRESOURCES_PATCH
#include "xresources.h"
#endif