[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] cairo 5558a14: Tool tips for menus did not show any text.
From: |
Jan D. |
Subject: |
[Emacs-diffs] cairo 5558a14: Tool tips for menus did not show any text. |
Date: |
Fri, 03 Apr 2015 12:24:51 +0000 |
branch: cairo
commit 5558a14438172634e8802cbaa87abc265e5d7a4c
Author: Jan D <address@hidden>
Commit: Jan D <address@hidden>
Tool tips for menus did not show any text.
* src/xterm.c (x_update_begin): Don't create any surface for non-visible
tip frames, the geometry may be wrong.
---
src/ChangeLog | 2 ++
src/xterm.c | 4 ++++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/ChangeLog b/src/ChangeLog
index e41da25..f7941e0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -2,6 +2,8 @@
* xterm.c (handle_one_xevent): Always redraw tool tips on
MapNotify. Update tool tip frame sizes on ConfigureNotify.
+ (x_update_begin): Don't create any surface for non-visible
+ tip frames, the geometry may be wrong.
2015-03-31 Eli Zaretskii <address@hidden>
diff --git a/src/xterm.c b/src/xterm.c
index 6bd0930..f1632f3 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -1038,6 +1038,10 @@ static void
x_update_begin (struct frame *f)
{
#ifdef USE_CAIRO
+ if (! NILP (tip_frame) && XFRAME (tip_frame) == f
+ && ! FRAME_VISIBLE_P (f))
+ return;
+
if (! FRAME_CR_SURFACE (f))
{
int width, height;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] cairo 5558a14: Tool tips for menus did not show any text.,
Jan D. <=