wine: rearrange patches to a more sensible order
[sugaredwine.git] / patches / 0028-explorer-stay-out-of-the-sugar-hot-corners.patch
blob77a8df65b4f4157eebe7be3e71c930c6db68a904
1 From a392f224822fb21c96a3ccfae0791e5fca6dd6ea Mon Sep 17 00:00:00 2001
2 From: Vincent Povirk <vincent@codeweavers.com>
3 Date: Fri, 17 Oct 2008 15:51:52 -0500
4 Subject: [PATCH] explorer: stay out of the sugar "hot corners"
6 ---
7 programs/explorer/taskbar.c | 4 ++--
8 1 files changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/programs/explorer/taskbar.c b/programs/explorer/taskbar.c
11 index 040e774..cc60088 100644
12 --- a/programs/explorer/taskbar.c
13 +++ b/programs/explorer/taskbar.c
14 @@ -66,8 +66,8 @@ static void taskbar_setpos(void)
15 abd.cbSize = sizeof(abd);
16 abd.hWnd = taskbar_window;
17 abd.uEdge = ABE_BOTTOM;
18 - abd.rc.left = 0;
19 - abd.rc.right = GetSystemMetrics(SM_CXSCREEN);
20 + abd.rc.left = GetSystemMetrics(SM_CXSCREEN) / 16;
21 + abd.rc.right = GetSystemMetrics(SM_CXSCREEN) * 15 / 16;
22 abd.rc.bottom = GetSystemMetrics(SM_CYSCREEN);
23 abd.rc.top = abd.rc.bottom - height;
24 SHAppBarMessage(ABM_QUERYPOS, &abd);
25 --
26 1.5.6.5