|
|
@ -97,21 +97,21 @@ static unsigned int defaultunderline = 7; |
|
|
|
/* Internal mouse shortcuts. */ |
|
|
|
/* Internal mouse shortcuts. */ |
|
|
|
/* Beware that overloading Button1 will disable the selection. */ |
|
|
|
/* Beware that overloading Button1 will disable the selection. */ |
|
|
|
static Mousekey mshortcuts[] = { |
|
|
|
static Mousekey mshortcuts[] = { |
|
|
|
/* button mask string */ |
|
|
|
/* button mask string */ |
|
|
|
{ Button4, XK_ANY_MOD, "\031"}, |
|
|
|
{ Button4, XK_ANY_MOD, "\031" }, |
|
|
|
{ Button5, XK_ANY_MOD, "\005"}, |
|
|
|
{ Button5, XK_ANY_MOD, "\005" }, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
/* Internal keyboard shortcuts. */ |
|
|
|
/* Internal keyboard shortcuts. */ |
|
|
|
#define MODKEY Mod1Mask |
|
|
|
#define MODKEY Mod1Mask |
|
|
|
|
|
|
|
|
|
|
|
static Shortcut shortcuts[] = { |
|
|
|
static Shortcut shortcuts[] = { |
|
|
|
/* mask keysym function argument */ |
|
|
|
/* mask keysym function argument */ |
|
|
|
{ MODKEY|ShiftMask, XK_Prior, xzoom, {.i = +1} }, |
|
|
|
{ MODKEY|ShiftMask, XK_Prior, xzoom, {.i = +1} }, |
|
|
|
{ MODKEY|ShiftMask, XK_Next, xzoom, {.i = -1} }, |
|
|
|
{ MODKEY|ShiftMask, XK_Next, xzoom, {.i = -1} }, |
|
|
|
{ ShiftMask, XK_Insert, selpaste, {.i = 0} }, |
|
|
|
{ ShiftMask, XK_Insert, selpaste, {.i = 0} }, |
|
|
|
{ MODKEY|ShiftMask, XK_Insert, clippaste, {.i = 0} }, |
|
|
|
{ MODKEY|ShiftMask, XK_Insert, clippaste, {.i = 0} }, |
|
|
|
{ MODKEY, XK_Num_Lock, numlock, {.i = 0} }, |
|
|
|
{ MODKEY, XK_Num_Lock, numlock, {.i = 0} }, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|