From 98d879e1a743e1adeef2fb21095e9f8212f9dfd6 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 16 Sep 2005 23:28:28 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=8040 --- api/windows_opengl.C | 5 +++++ checkin_notes | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/api/windows_opengl.C b/api/windows_opengl.C index ed2d5b4b9f..e861230e60 100755 --- a/api/windows_opengl.C +++ b/api/windows_opengl.C @@ -162,6 +162,11 @@ static void make_new_window() { return; } + // use client area for resize when not fullscreen + if (current_graphics_mode != MODE_FULLSCREEN) { + GetClientRect(hWnd, &WindowRect); + } + width = WindowRect.right-WindowRect.left; height = WindowRect.bottom-WindowRect.top; diff --git a/checkin_notes b/checkin_notes index 68e6ef0c61..5042aa806a 100755 --- a/checkin_notes +++ b/checkin_notes @@ -11839,3 +11839,10 @@ Rom 16 Sept 2005 (from Walt Gribben) windows_opengl.C win_build/ libboincapi.vcproj + +Rom 16 Sept 2005 (from Walt Gribben) + - Use the client area of the window instead of the window size when drawing + graphics on Windows. + + api/ + windows_opengl.C