summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-04 10:47:37 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-04 10:47:37 +0100
commit8bbf1b36d5abe1d606c5f67d9d66dbb837b975d2 (patch)
tree0c92f15504bc7b5b9b983c7afa666ff725792a91 /source/view.c
parent8f6a323ed6f4d3cd5553a0f66585f0dc7334ee39 (diff)
Don't draw widget when size is 0 or less.
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/view.c b/source/view.c
index fab115bf..d207a3c1 100644
--- a/source/view.c
+++ b/source/view.c
@@ -797,6 +797,7 @@ void rofi_view_update ( RofiViewState *state, gboolean qr )
if ( !widget_need_redraw ( WIDGET ( state->main_window ) ) && !widget_need_redraw ( WIDGET ( state->overlay ) ) ) {
return;
}
+ g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Redraw view" );
TICK ();
cairo_t *d = CacheState.edit_draw;
cairo_set_operator ( d, CAIRO_OPERATOR_SOURCE );