Codechange: Set specific widgets dirty instead of window.
(cherry picked from commit 8321ef0061
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
0676c1f470
commit
ad554d913f
@@ -2470,8 +2470,8 @@ static EventState HandleActiveWidget()
|
||||
if (w->mouse_capture_widget >= 0) {
|
||||
/* Abort if no button is clicked any more. */
|
||||
if (!_left_button_down) {
|
||||
w->SetWidgetDirty(w->mouse_capture_widget);
|
||||
w->mouse_capture_widget = -1;
|
||||
w->SetDirty();
|
||||
return ES_HANDLED;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user