@b4n commented on this pull request.


In src/editor.c:

> @@ -4968,6 +4990,7 @@ static ScintillaObject *create_new_sci(GeanyEditor *editor)
 		g_signal_connect(sci, "button-press-event", G_CALLBACK(on_editor_button_press_event), editor);
 		g_signal_connect(sci, "scroll-event", G_CALLBACK(on_editor_scroll_event), editor);
 		g_signal_connect(sci, "motion-notify-event", G_CALLBACK(on_motion_event), NULL);
+		g_signal_connect(sci, "motion-notify-event", G_CALLBACK(motion_notify_event), editor);

Ah right, the other one is the generic "let's focus stuff" thingy. But yeah, probably having a single handler would be better -- although it doesn't change a thing save confusing me a tad 🙂


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3899/review/2106382183@github.com>