mirror of
https://github.com/davatorium/rofi.git
synced 2025-04-07 17:33:14 -04:00
fix logic for Ctrl+Return/Ctrl+Enter
This commit is contained in:
parent
21235b0600
commit
ada9f81ce0
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ int textbox_keypress ( textbox *tb, XEvent *ev )
|
|||
textbox_cursor_bkspc ( tb );
|
||||
return 1;
|
||||
}
|
||||
else if ( ( ev->xkey.state & ControlMask ) && key == XK_Return || key == XK_KP_Enter ) {
|
||||
else if ( ( ev->xkey.state & ControlMask ) && ( key == XK_Return || key == XK_KP_Enter) ) {
|
||||
return -2;
|
||||
}
|
||||
else if ( key == XK_Return || key == XK_KP_Enter ||
|
||||
|
|
Loading…
Add table
Reference in a new issue