TEMPORARY update for cairo - remove logs

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@35668 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2012-10-11 20:53:36 +00:00
parent 9b0f83a5d9
commit 30941f5681

View file

@ -1056,9 +1056,6 @@ BOOL CALLBACK LoadDisplayMonitorInfo(HMONITOR hMonitor,
if (style == 0)
#endif
{
NSLog(@"%s:creating borderless window with frame: %@\n", __PRETTY_FUNCTION__, NSStringFromRect(frame));
NSLog(@"%s:creating borderless window with RECT(0): %d, %d, %d, %d", __PRETTY_FUNCTION__,
r.top, r.bottom, r.left, r.right);
#ifndef USE_WS_POPUP
LONG wstyleOld = GetWindowLong(hwnd, GWL_STYLE);
LONG estyleOld = GetWindowLong(hwnd, GWL_EXSTYLE);
@ -1073,14 +1070,9 @@ BOOL CALLBACK LoadDisplayMonitorInfo(HMONITOR hMonitor,
// Modify window style parameters and update the window information...
SetWindowLong(hwnd, GWL_STYLE, wstyleNew);
SetWindowLong(hwnd, GWL_EXSTYLE, estyleNew);
// SetWindowPos(hwnd, NULL, r.left, r.top, r.right - r.left, r.bottom - r.top,
// SWP_FRAMECHANGED | SWP_NOSENDCHANGING | SWP_NOREPOSITION | SWP_NOZORDER | SWP_NOACTIVATE);
SetWindowPos(hwnd, NULL, 0, 0, 0, 0,
SWP_FRAMECHANGED | SWP_NOSENDCHANGING | SWP_NOREPOSITION |
SWP_NOZORDER | SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE);
#else
// HRGN hrgn = CreateRectRgn(0, 0, r.right - r.left, r.bottom - r.top);
// SetWindowRgn(hwnd, hrgn, FALSE);
#endif
}
#endif