Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Fri, 10 Jun 2016 23:09:49 UTC Commit: f489043864b644216ccecd9415abbf4b850a130f https://github.com/geany/geany/commit/f489043864b644216ccecd9415abbf4b850a13...
Log Message: ----------- Merge pull request #946 from techee/scintilla_quartz
Enable buffered draw on newer GTK versions on OS X
Modified Paths: -------------- src/editor.c
Modified: src/editor.c 5 lines changed, 4 insertions(+), 1 deletions(-) =================================================================== @@ -4921,8 +4921,11 @@ static ScintillaObject *create_new_sci(GeanyEditor *editor) SSM(sci, SCI_SETVIRTUALSPACEOPTIONS, editor_prefs.show_virtual_space, 0); #ifdef GDK_WINDOWING_QUARTZ - /* "retina" (HiDPI) display support on OS X - requires disabling buffered draw */ +# if ! GTK_CHECK_VERSION(3,16,0) + /* "retina" (HiDPI) display support on OS X - requires disabling buffered draw + * on older GTK versions */ SSM(sci, SCI_SETBUFFEREDDRAW, 0, 0); +# endif #endif
/* only connect signals if this is for the document notebook, not split window */
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).