From f92c62127cdbe6fb0831e911c5c6dc2b5db7a7c4 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 27 Aug 2026 13:33:41 +0200 Subject: Initial import --- config.def.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 config.def.h (limited to 'config.def.h') 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", +}; -- cgit v1.2.3