[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[STUMP] [PATCH] Fix frame indicator height bug.
From: |
John Li |
Subject: |
[STUMP] [PATCH] Fix frame indicator height bug. |
Date: |
Wed, 16 Jul 2008 04:50:01 -0400 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
---
Should take the mode-line into account when calculating the indicator
position. vsplit a few times and run curframe to see this bug.
message-window.lisp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/message-window.lisp b/message-window.lisp
index c7e4b00..43d63f7 100644
--- a/message-window.lisp
+++ b/message-window.lisp
@@ -162,7 +162,7 @@ function expects to be wrapped in a with-state for win."
(xlib:with-state (w)
(setf (xlib:drawable-x w) (+ (frame-x frame)
(truncate (- (frame-width frame)
(xlib:text-width font string)) 2))
- (xlib:drawable-y w) (+ (frame-y frame)
+ (xlib:drawable-y w) (+ (frame-display-y group frame)
(truncate (- (frame-height frame)
(font-height font)) 2))
(xlib:window-priority w) :above))
(xlib:map-window w)
--
1.5.6
- [STUMP] [PATCH] Fix frame indicator height bug.,
John Li <=