Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
master
Mingde (Matthew) Zeng 6 years ago
parent 22fb0b9538
commit 08d66b3ff0
  1. 4
      eaf.el

@ -7,7 +7,7 @@
;; Copyright (C) 2018, Andy Stewart, all rights reserved.
;; Created: 2018-06-15 14:10:12
;; Version: 0.5
;; Last-Updated: Fri Jun 19 03:25:46 2020 (-0400)
;; Last-Updated: Tue Jun 30 09:16:54 2020 (-0400)
;; By: Mingde (Matthew) Zeng
;; URL: http://www.emacswiki.org/emacs/download/eaf.el
;; Keywords:
@ -958,7 +958,7 @@ We need calcuate render allocation to make sure no black border around render co
(y (+ (nth 1 window-edges)
(window-header-line-height window)
(if (> emacs-major-version 26)
(if tab-line-mode (window-tab-line-height window) 0)
(if global-tab-line-mode (window-tab-line-height window) 0)
0)))
(w (- (nth 2 window-edges) x))
(h (- (nth 3 window-edges) (window-mode-line-height window) y)))

Loading…
Cancel
Save