1 From 41b09ab723196dae478cced64444abfd8a29b1b1 Mon Sep 17 00:00:00 2001
2 From: Vincent Povirk <vincent@codeweavers.com>
3 Date: Thu, 25 Sep 2008 13:27:10 -0500
4 Subject: [PATCH] explorer: don't activate taskbar and related windows when showing them
6 This ensures that when you run e.g. wine explorer /desktop=x notepad,
7 notepad has the focus initially.
9 programs/explorer/taskbar.c | 6 +++---
10 1 files changed, 3 insertions(+), 3 deletions(-)
12 diff --git a/programs/explorer/taskbar.c b/programs/explorer/taskbar.c
13 index e5ee6be..9dde2ca 100644
14 --- a/programs/explorer/taskbar.c
15 +++ b/programs/explorer/taskbar.c
16 @@ -280,9 +280,9 @@ void initialize_taskbar(void)
20 - ShowWindow(systray_window, SW_SHOW);
21 - ShowWindow(startbutton, SW_SHOW);
22 - ShowWindow(taskbar_window, SW_SHOW);
23 + ShowWindow(systray_window, SW_SHOWNA);
24 + ShowWindow(startbutton, SW_SHOWNA);
25 + ShowWindow(taskbar_window, SW_SHOWNA);
28 void finalize_taskbar(void)