mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-25 16:35:46 +01:00
middle click pastes selection again
This commit is contained in:
parent
e7db668a0a
commit
689add8aad
2 changed files with 2 additions and 3 deletions
3
config.h
3
config.h
|
@ -240,10 +240,9 @@ static Shortcut shortcuts[] = {
|
|||
{ TERMMOD, XK_Prior, zoom, {.f = +1} },
|
||||
{ TERMMOD, XK_Next, zoom, {.f = -1} },
|
||||
{ MODKEY, XK_Home, zoomreset, {.f = 0} },
|
||||
{ ShiftMask, XK_Insert, clippaste, {.i = 0} },
|
||||
{ MODKEY, XK_c, clipcopy, {.i = 0} },
|
||||
{ ShiftMask, XK_Insert, clippaste, {.i = 0} },
|
||||
{ MODKEY, XK_v, clippaste, {.i = 0} },
|
||||
{ MODKEY, XK_p, selpaste, {.i = 0} },
|
||||
{ XK_ANY_MOD, Button2, selpaste, {.i = 0} },
|
||||
{ MODKEY, XK_Num_Lock, numlock, {.i = 0} },
|
||||
{ MODKEY, XK_Control_L, iso14755, {.i = 0} },
|
||||
|
|
2
x.c
2
x.c
|
@ -678,7 +678,7 @@ brelease(XEvent *e)
|
|||
}
|
||||
|
||||
if (e->xbutton.button == Button2)
|
||||
clippaste(NULL);
|
||||
selpaste(NULL);
|
||||
else if (e->xbutton.button == Button1)
|
||||
mousesel(e, 1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue