mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
Insert key paste secondary, shift-insert primary.
This commit is contained in:
parent
92db68b36d
commit
6fb7e345d0
4 changed files with 12 additions and 11 deletions
|
@ -1338,7 +1338,8 @@ MenuReturn menu ( char **lines, char **input, char *prompt, Time *time, int *shi
|
|||
|
||||
KeySym key = XkbKeycodeToKeysym ( display, ev.xkey.keycode, 0, 0 );
|
||||
|
||||
if ( ( ( ev.xkey.state & ControlMask ) == ControlMask ) && key == XK_v )
|
||||
if ( ( ( ( ev.xkey.state & ControlMask ) == ControlMask ) && key == XK_v ) ||
|
||||
key == XK_Insert )
|
||||
{
|
||||
// TODO move these.
|
||||
Atom clip = XInternAtom ( display, "CLIPBOARD", False );
|
||||
|
|
Loading…
Reference in a new issue