diff options
| author | bryan <bryan@veltar.systems> | 2026-08-27 13:33:41 +0200 |
|---|---|---|
| committer | bryan <bryan@veltar.systems> | 2026-08-27 13:33:41 +0200 |
| commit | f92c62127cdbe6fb0831e911c5c6dc2b5db7a7c4 (patch) | |
| tree | fb5659b274bb5117a93c4f021e2a654858c7d371 /config.def.h | |
| download | selc-f92c62127cdbe6fb0831e911c5c6dc2b5db7a7c4.tar.gz selc-f92c62127cdbe6fb0831e911c5c6dc2b5db7a7c4.zip | |
Initial import
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", +}; |
