From 7584179495bcaef9e0b65f7a2b5a1fb11d7f6171 Mon Sep 17 00:00:00 2001 From: Dan Werthimer Date: Thu, 22 May 2003 21:45:33 +0000 Subject: [PATCH] no message svn path=/trunk/boinc/; revision=1241 --- api/windows_opengl.cpp | 3 ++- todo | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/windows_opengl.cpp b/api/windows_opengl.cpp index 1bfe05854b..40625f6769 100755 --- a/api/windows_opengl.cpp +++ b/api/windows_opengl.cpp @@ -112,7 +112,8 @@ void SetMode(int mode) { while(ShowCursor(true) < 0); } - AdjustWindowRectEx(&WindowRect, dwStyle, FALSE, dwExStyle); // Adjust Window To True Requested Size + // Do not do AdjustWindowRectEx here, this will + // cause the window to creep upwards hWnd = CreateWindowEx(dwExStyle, "BOINC_OpenGL", "BOINC Graphics", dwStyle|WS_CLIPSIBLINGS|WS_CLIPCHILDREN, WindowRect.left, WindowRect.top, diff --git a/todo b/todo index 7df07755c1..fa8b6be795 100755 --- a/todo +++ b/todo @@ -5,8 +5,6 @@ Matt's Bugs: 1. suddenly slow graphics (graphics are plotting smoothly, but after several "show graphics" the plots become really slow). -2. windows are appearing too high - top bar is off the screen. - 3. after minimizing and quitting, when I double click on the system tray icon the window is still minimized - a bit confusing.