Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5a98616e
Commit
5a98616e
authored
Dec 02, 2005
by
Eli Zaretskii
Browse files
(compute_tip_xy): Put tip above pointer if it doesn't fit below.
parent
ed0e3879
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/w32fns.c
src/w32fns.c
+3
-0
No files found.
src/ChangeLog
View file @
5a98616e
2005-12-02 Eli Zaretskii <eliz@gnu.org>
* w32fns.c (compute_tip_xy): Put tip above pointer if it doesn't
fit below.
2005-12-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* xterm.h: Add prototype for xg_set_icon_from_xpm_data.
...
...
src/w32fns.c
View file @
5a98616e
...
...
@@ -7413,6 +7413,9 @@ compute_tip_xy (f, parms, dx, dy, width, height, root_x, root_y)
*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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment