@b4n commented on this pull request.


> @@ -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 :slightly_smiling_face: 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3899#discussion_r1632406961
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3899/review/2106382...@github.com>

Reply via email to