1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-03 04:23:42 -05:00

If widget is disabled, don't check redraw flag as it wont be cleared.

This reduces a lot of false redraws caused by overlay widget.

Issue: #496
This commit is contained in:
Dave Davenport 2016-11-10 12:17:27 +01:00
parent 545be58e40
commit 0da5737cee

View file

@ -135,7 +135,7 @@ void widget_queue_redraw ( widget *wid )
gboolean widget_need_redraw ( widget *wid )
{
if ( wid ) {
if ( wid && wid->enabled ) {
return wid->need_redraw;
}
return FALSE;