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: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/src/w32fns.c
Date: Fri, 08 Feb 2002 20:31:07 -0500

Index: emacs/src/w32fns.c
diff -c emacs/src/w32fns.c:1.153 emacs/src/w32fns.c:1.154
*** emacs/src/w32fns.c:1.153    Fri Feb  8 20:08:33 2002
--- emacs/src/w32fns.c  Fri Feb  8 20:31:07 2002
***************
*** 5816,5821 ****
--- 5816,5825 ----
             ended up with. */
        return NULL;
  
+     /* Specify anti-aliasing to prevent Cleartype fonts being used,
+        since those fonts leave garbage behind.  */
+     lf.lfQuality = ANTIALIASED_QUALITY;
+ 
      font = (XFontStruct *) xmalloc (sizeof (XFontStruct));
      bzero (font, sizeof (*font));
  
***************
*** 13708,13716 ****
--- 13712,13728 ----
          BLOCK_INPUT;
          compute_tip_xy (f, parms, dx, dy, PIXEL_WIDTH (f),
                          PIXEL_HEIGHT (f), &root_x, &root_y);
+ 
+         /* Put tooltip in topmost group and in position.  */
          SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOPMOST,
                        root_x, root_y, 0, 0,
                        SWP_NOSIZE | SWP_NOACTIVATE);
+ 
+         /* Ensure tooltip is on top of other topmost windows (eg menus).  */
+         SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOP,
+                       0, 0, 0, 0,
+                       SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
+ 
          UNBLOCK_INPUT;
          goto start_timer;
        }
***************
*** 13828,13836 ****
--- 13840,13854 ----
      AdjustWindowRect (&rect, f->output_data.w32->dwStyle,
                      FRAME_EXTERNAL_MENU_BAR (f));
  
+     /* Position and size tooltip, and put it in the topmost group.  */
      SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOPMOST,
                  root_x, root_y, rect.right - rect.left,
                  rect.bottom - rect.top, SWP_NOACTIVATE);
+ 
+     /* Ensure tooltip is on top of other topmost windows (eg menus).  */
+     SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOP,
+                 0, 0, 0, 0,
+                 SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
  
      /* Let redisplay know that we have made the frame visible already.  */
      f->async_visible = 1;



reply via email to

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