mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-03 04:23:42 -05:00
Fix one-off pasting text in rofi.
This commit is contained in:
parent
9530f195d1
commit
21144aef17
2 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
- Add Ctrl(Shift)Tab to switch modi's.
|
||||
- Auto size number of columns based on available columns.
|
||||
- Better way to determine font height.
|
||||
- One-off when pasting text.
|
||||
Cleanup:
|
||||
- Do not lug argc,argv around everywhere.
|
||||
|
||||
|
|
|
@ -916,7 +916,7 @@ static void menu_paste ( MenuState *state, XSelectionEvent *xse )
|
|||
}
|
||||
// Insert string move cursor.
|
||||
textbox_insert ( state->text, state->text->cursor, text );
|
||||
textbox_cursor ( state->text, state->text->cursor + dl - 1 );
|
||||
textbox_cursor ( state->text, state->text->cursor + dl );
|
||||
// Force a redraw and refiltering of the text.
|
||||
state->update = TRUE;
|
||||
state->refilter = TRUE;
|
||||
|
|
Loading…
Reference in a new issue