Branch: refs/heads/master Author: Matthew Brush matt@geany.org Committer: Matthew Brush matt@geany.org Date: Fri, 12 Oct 2012 06:07:02 Commit: 206c39cb6aa02e12bbf5d3c5b63f9fd9d95f705f https://github.com/geany/geany/commit/206c39cb6aa02e12bbf5d3c5b63f9fd9d95f70...
Log Message: ----------- Fix reshowing calltip after autoc list closed
Using default priority causes Geany's reshowing idle handler to run before Scintilla's, changing priority to low in hopes of making it run after.
Modified Paths: -------------- src/editor.c
Modified: src/editor.c 6 files changed, 4 insertions(+), 2 deletions(-) =================================================================== @@ -696,8 +696,10 @@ static void request_reshowing_calltip(SCNotification *nt) if (calltip.set) { /* delay the reshow of the calltip window to make sure it is actually displayed, - * without it might be not visible on SCN_AUTOCCANCEL */ - g_idle_add(reshow_calltip, NULL); + * without it might be not visible on SCN_AUTOCCANCEL. the priority is set to + * low to hopefully make Scintilla's events happen before reshowing since they + * seem to re-cancel the calltip on autoc menu hiding too */ + g_idle_add_full(G_PRIORITY_LOW, reshow_calltip, NULL, NULL); } }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).