emacs-diffs
[Top][All Lists]
Advanced

[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: Sat, 08 Apr 2006 12:26:25 +0000

Index: emacs/src/w32fns.c
diff -u emacs/src/w32fns.c:1.266 emacs/src/w32fns.c:1.267
--- emacs/src/w32fns.c:1.266    Sat Mar 18 13:29:34 2006
+++ emacs/src/w32fns.c  Sat Apr  8 12:26:25 2006
@@ -7668,9 +7668,12 @@
     AdjustWindowRect (&rect, f->output_data.w32->dwStyle,
                      FRAME_EXTERNAL_MENU_BAR (f));
 
-    /* Position and size tooltip, and put it in the topmost group.  */
+    /* Position and size tooltip, and put it in the topmost group.
+       The add-on of 3 to the 5th argument is a kludge: without it,
+       some fonts cause the last character of the tip to be truncated,
+       for some obscure reason.  */
     SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOPMOST,
-                 root_x, root_y, rect.right - rect.left,
+                 root_x, root_y, rect.right - rect.left + 3,
                  rect.bottom - rect.top, SWP_NOACTIVATE);
 
     /* Ensure tooltip is on top of other topmost windows (eg menus).  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]