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.
This commit is contained in:
Matthew Brush 2012-10-11 23:01:29 -07:00
parent 5bb0ca5a83
commit 206c39cb6a

View File

@ -696,8 +696,10 @@ static void request_reshowing_calltip(SCNotification *nt)
if (calltip.set) if (calltip.set)
{ {
/* delay the reshow of the calltip window to make sure it is actually displayed, /* delay the reshow of the calltip window to make sure it is actually displayed,
* without it might be not visible on SCN_AUTOCCANCEL */ * without it might be not visible on SCN_AUTOCCANCEL. the priority is set to
g_idle_add(reshow_calltip, NULL); * 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);
} }
} }