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

Redraw the window, if it moves

This commit is contained in:
Dave Davenport 2016-12-29 22:06:31 +01:00
parent b0a8edc95a
commit c0e6e7c555

View file

@ -1242,6 +1242,7 @@ void rofi_view_itterrate ( RofiViewState *state, xcb_generic_event_t *ev, xkb_st
if ( state->x != xce->x || state->y != xce->y ) { if ( state->x != xce->x || state->y != xce->y ) {
state->x = xce->x; state->x = xce->x;
state->y = xce->y; state->y = xce->y;
widget_queue_redraw ( WIDGET ( state->main_window ) );
} }
if ( state->width != xce->width || state->height != xce->height ) { if ( state->width != xce->width || state->height != xce->height ) {
state->width = xce->width; state->width = xce->width;