Fix problems drawing widgets when a key is pressed outside the main frame/window.

This bug was introduced with the drawing optimization in commit fb0e82be08.
This commit is contained in:
David Capello 2010-12-02 21:20:09 -03:00
parent 7fab4cd42f
commit 7a77285dc7

View File

@ -26,7 +26,7 @@ using namespace gfx;
static inline void mark_dirty_flag(Widget* widget) static inline void mark_dirty_flag(Widget* widget)
{ {
while (widget && ((widget->flags & JI_DIRTY) == 0)) { while (widget) {
widget->flags |= JI_DIRTY; widget->flags |= JI_DIRTY;
widget = widget->parent; widget = widget->parent;
} }