Commit 6a00a4ef authored by Michael Natterer's avatar Michael Natterer 😴

Add comment why we implement focus_in_event() and focus_out_event()

parent a4694d8a
......@@ -299,6 +299,9 @@ static gboolean
gimp_canvas_focus_in_event (GtkWidget *widget,
GdkEventFocus *event)
{
/* don't allow the default impl to invalidate the whole widget,
* we don't draw a focus indicator anyway.
*/
return FALSE;
}
......@@ -306,6 +309,8 @@ static gboolean
gimp_canvas_focus_out_event (GtkWidget *widget,
GdkEventFocus *event)
{
/* see focus-in-event
*/
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment