1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Reverting c/p behavior, misread comments.

This commit is contained in:
QC 2014-08-03 21:09:20 +02:00
parent 9bbb79a888
commit 77a0a765ae
4 changed files with 13 additions and 13 deletions

View file

@ -1370,7 +1370,7 @@ MenuReturn menu ( char **lines, unsigned int num_lines, char **input, char *prom
} }
if ( key == XK_Insert ) { if ( key == XK_Insert ) {
XConvertSelection ( display, ( ev.xkey.state & ShiftMask ) ? XConvertSelection ( display, ( ev.xkey.state & ShiftMask ) ?
netatoms[CLIPBOARD] : XA_PRIMARY, XA_PRIMARY : netatoms[CLIPBOARD],
netatoms[UTF8_STRING], netatoms[UTF8_STRING], main_window, CurrentTime ); netatoms[UTF8_STRING], netatoms[UTF8_STRING], main_window, CurrentTime );
} }
else if ( ( ( ev.xkey.state & ShiftMask ) == ShiftMask ) && else if ( ( ( ev.xkey.state & ShiftMask ) == ShiftMask ) &&