[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32fns.c
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32fns.c |
Date: |
Fri, 02 Dec 2005 13:31:50 -0500 |
Index: emacs/src/w32fns.c
diff -c emacs/src/w32fns.c:1.257 emacs/src/w32fns.c:1.258
*** emacs/src/w32fns.c:1.257 Tue Oct 25 21:13:50 2005
--- emacs/src/w32fns.c Fri Dec 2 18:31:50 2005
***************
*** 7413,7418 ****
--- 7413,7421 ----
*root_y = XINT (top);
else if (*root_y + XINT (dy) - height < 0)
*root_y -= XINT (dy);
+ /* If there's not enough place below the pointer, put tip above it. */
+ else if (*root_y + XINT (dy) >= FRAME_W32_DISPLAY_INFO (f)->height)
+ *root_y -= XINT (dy);
else
{
*root_y -= height;
- [Emacs-diffs] Changes to emacs/src/w32fns.c,
Eli Zaretskii <=