summaryrefslogtreecommitdiff
path: root/config.def.h
blob: 357bcba94ba0809df1365ea10d2943f50beed3e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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",
};