mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -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:
parent
545be58e40
commit
0da5737cee
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue