diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h new file mode 100644 index 0000000..357bcba --- /dev/null +++ b/config.def.h @@ -0,0 +1,22 @@ +/* Copy to config.h and edit. Recompile after changing knobs. */ + +enum { + MINPIX = 4, /* min drag distance in pixels */ + COPYWAIT = 25, /* ms after the gesture before we copy */ + COPYTO = 50, /* SendMessageTimeout budget for WM_COPY */ + HITTO = 50, /* same for WM_NCHITTEST */ + DBLCOPY = 1, /* copy on double/triple click */ + SHIFTCLICK = 1, /* copy on shift+click (extend selection) */ + KEYSEL = 1, /* copy on shift+arrows/home/end/pgup/pgdn */ + CTRLA = 0 /* copy after Ctrl+A; 0: Explorer would copy files */ +}; + +/* + * Root window classes that must not receive injected Ctrl+C. + * WM_COPY is still tried. Console hosts treat Ctrl+C as interrupt. + */ +static const char *nocctrlc[] = { + "ConsoleWindowClass", + "CASCADIA_HOSTING_WINDOW_CLASS", + "mintty", +}; |
