Rob Shearman : winex11.drv: Don' t activate the systray window when repositioning it.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Aug 24 05:24:41 CDT 2007


Module: wine
Branch: master
Commit: fba87b110f818a02d286e15762bfcf26389e64f7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fba87b110f818a02d286e15762bfcf26389e64f7

Author: Rob Shearman <rob at codeweavers.com>
Date:   Thu Aug 23 15:44:24 2007 +0100

winex11.drv: Don't activate the systray window when repositioning it.

---

 dlls/winex11.drv/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 030989b..f7a0909 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -341,7 +341,7 @@ static void systray_dock_window( Display *display, struct x11drv_win_data *data
          * http://standards.freedesktop.org/xembed-spec/latest/ar01s04.html */
         
         SetWindowPos( data->hwnd, NULL, virtual_screen_rect.right + 1, virtual_screen_rect.bottom + 1,
-                      0, 0, SWP_NOZORDER | SWP_NOSIZE );
+                      0, 0, SWP_NOZORDER | SWP_NOSIZE | SWP_NOACTIVATE );
 
         /* set XEMBED protocol data on the window */
         info[0] = 0; /* protocol version */




More information about the wine-cvs mailing list