[geany/geany] 3c01fa: Disable scintilla buffer draw on OS X (with Quartz backend)
Jiří Techet
git-noreply at xxxxx
Tue Feb 10 16:23:25 UTC 2015
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Tue, 20 Jan 2015 18:33:06 UTC
Commit: 3c01fae8d95f51340e16247f51d0e654500d43f5
https://github.com/geany/geany/commit/3c01fae8d95f51340e16247f51d0e654500d43f5
Log Message:
-----------
Disable scintilla buffer draw on OS X (with Quartz backend)
This delagates font rendering to Quartz so it can be rendered
in 2x resolution on "retina" displays.
Modified Paths:
--------------
src/editor.c
Modified: src/editor.c
5 lines changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -4779,6 +4779,11 @@ static ScintillaObject *create_new_sci(GeanyEditor *editor)
/* virtual space */
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 */
+ SSM(sci, SCI_SETBUFFEREDDRAW, 0, 0);
+#endif
/* only connect signals if this is for the document notebook, not split window */
if (editor->sci == NULL)
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list