mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 01:11:00 +00:00
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:
parent
9b0f83a5d9
commit
30941f5681
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue