1 From 966c041730e5aa4ede6f7f1522340a82ba87321a 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"
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;
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);