Skip to content

Instantly share code, notes, and snippets.

@unya
Last active May 30, 2018 05:29
Show Gist options
  • Save unya/062f0b17a1bf97288bf3090d01e4ed44 to your computer and use it in GitHub Desktop.
Save unya/062f0b17a1bf97288bf3090d01e4ed44 to your computer and use it in GitHub Desktop.
Fix for blank displays in Emacs 26.1 with Xming or VcXsrv
;; Add this to dotspacemacs/user-init to make emacs 26.1 work with Xming/VcXsrv
(defun pl/fix-buffering (&rest frame)
(modify-frame-parameters nil '((inhibit-double-buffering . t))))
(add-hook 'after-make-frame-functions 'pl/fix-buffering)
(add-to-list 'default-frame-alist '(inhibit-double-buffering . t))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment