emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117073: Fix tooltips pulling Emacs window to fro


From: Jarek Czekalski
Subject: [Emacs-diffs] emacs-24 r117073: Fix tooltips pulling Emacs window to front on windows-nt, bug #17408.
Date: Tue, 06 May 2014 16:03:35 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117073
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17408
committer: Jarek Czekalski <address@hidden>
branch nick: emacs24-bzr
timestamp: Tue 2014-05-06 18:00:30 +0200
message:
  Fix tooltips pulling Emacs window to front on windows-nt, bug #17408.
  
    * w32fns.c (Fx_show_tip): Add SWP_NOOWNERZORDER flag to
    SetWindowPos invocations.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/w32fns.c                   w32fns.c-20091113204419-o5vbwnq5f7feedwu-945
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-05-05 17:37:43 +0000
+++ b/src/ChangeLog     2014-05-06 16:00:30 +0000
@@ -1,3 +1,9 @@
+2014-05-06  Jarek Czekalski  <address@hidden>
+
+       Stop tooltips pulling Emacs window to front (Bug#17408).
+       * w32fns.c (Fx_show_tip): Add SWP_NOOWNERZORDER flag to
+       SetWindowPos invocations.
+
 2014-05-05  Jan Djärv  <address@hidden>
 
        * nsselect.m (Fx_selection_exists_p): Just return Qnil if window system

=== modified file 'src/w32fns.c'
--- a/src/w32fns.c      2014-03-21 09:23:22 +0000
+++ b/src/w32fns.c      2014-05-06 16:00:30 +0000
@@ -6036,12 +6036,13 @@
          /* 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);
+                       SWP_NOSIZE | SWP_NOACTIVATE | SWP_NOOWNERZORDER);
 
          /* 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);
+                       SWP_NOMOVE | SWP_NOSIZE
+                       | SWP_NOACTIVATE | SWP_NOOWNERZORDER);
 
          unblock_input ();
          goto start_timer;
@@ -6239,12 +6240,13 @@
     SetWindowPos (FRAME_W32_WINDOW (f), HWND_TOPMOST,
                  root_x, root_y,
                  rect.right - rect.left + FRAME_COLUMN_WIDTH (f),
-                 rect.bottom - rect.top, SWP_NOACTIVATE);
+                 rect.bottom - rect.top, SWP_NOACTIVATE | SWP_NOOWNERZORDER);
 
     /* 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);
+                 SWP_NOMOVE | SWP_NOSIZE
+                 | SWP_NOACTIVATE | SWP_NOOWNERZORDER);
 
     /* Let redisplay know that we have made the frame visible already.  */
     SET_FRAME_VISIBLE (f, 1);


reply via email to

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