Directly queue a redraw on overlay change.

This commit is contained in:
Dave Davenport 2016-12-26 20:57:33 +01:00
parent aa08c8ea78
commit 0865e0f9d4
1 changed files with 2 additions and 0 deletions

View File

@ -1678,6 +1678,8 @@ void rofi_view_set_overlay ( RofiViewState *state, const char *text )
unsigned int x_offset = state->width - ( 2 * state->border ) - widget_get_width ( WIDGET ( state->case_indicator ) );
x_offset -= widget_get_width ( WIDGET ( state->overlay ) );
widget_move ( WIDGET ( state->overlay ), x_offset, state->border );
// We want to queue a repaint.
rofi_view_queue_redraw ( );
}
void rofi_view_clear_input ( RofiViewState *state )