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:
parent
b0a8edc95a
commit
c0e6e7c555
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue