Remove code which prevented the use from specifying the window size in

nodecoration mode.
This commit is contained in:
Alexander Gottwald 2004-09-16 13:22:52 +00:00
parent c4083511ac
commit b56f4532d1
2 changed files with 18 additions and 30 deletions

View File

@ -1,3 +1,9 @@
2004-09-16 Alexander Gottwald <ago at freedesktop dot org>
* wincreatewnd.c (winCreateBoundingWindowWindowed):
Remove code which prevented the use from specifying the window
size in nodecoration mode.
2004-08-26 Chris B <news at sempermax dot com> 2004-08-26 Chris B <news at sempermax dot com>
* win.h, winmessages.h: * win.h, winmessages.h:
@ -18,18 +24,18 @@
fUseUnicode, because it don't mean wheather Windows support fUseUnicode, because it don't mean wheather Windows support
Unicode or not. Unicode or not.
2004-07-31 Alexander Gottwald <ago@freedesktop.org> 2004-07-31 Alexander Gottwald <ago at freedesktop dot org>
* win.h: * win.h:
adjust prototype for winInitCmapPrivates to match Egberts change. adjust prototype for winInitCmapPrivates to match Egberts change.
2004-07-30 Egbert Eich <eich@freedesktop.org> 2004-07-30 Egbert Eich <eich at freedesktop dot org>
* winallpriv.c: (winInitCmapPrivates): * winallpriv.c: (winInitCmapPrivates):
test if colormap with index really exists in the list of test if colormap with index really exists in the list of
installed maps before using it. installed maps before using it.
2004-07-09 Alexander Gottwald <ago@freedesktop.org> 2004-07-09 Alexander Gottwald <ago at freedesktop dot org>
* winconfig.c: Add entry for irish layout (ie) * winconfig.c: Add entry for irish layout (ie)
* InitOutput.c, winerror.c, winglobals.c: rename g_fUseMsg to * InitOutput.c, winerror.c, winglobals.c: rename g_fUseMsg to
@ -38,38 +44,38 @@
-silent-dup-error to allow silent termination if another instance of -silent-dup-error to allow silent termination if another instance of
XWin was found running XWin was found running
2004-06-27 Alexander Gottwald <ago@freedesktop.org> 2004-06-27 Alexander Gottwald <ago at freedesktop dot org>
* winconfig.c: Add entry for us layout. This changes not much but * winconfig.c: Add entry for us layout. This changes not much but
removes a strange error message about the unknown us layout. removes a strange error message about the unknown us layout.
2004-06-24 Alexander Gottwald <ago@freedesktop.org> 2004-06-24 Alexander Gottwald <ago at freedesktop dot org>
* InitOutput.c: Check for textmode mounted /tmp and print a warning * InitOutput.c: Check for textmode mounted /tmp and print a warning
2004-06-15 Harold Hunt <huntharo@msu.edu> 2004-06-15 Harold Hunt <huntharo at msu dot edu>
* windialogs.c: Fix path to locally installed changelog for the About * windialogs.c: Fix path to locally installed changelog for the About
dialog box. dialog box.
2004-05-27 Alexander Gottwald <ago@freedesktop.org> 2004-05-27 Alexander Gottwald <ago at freedesktop dot org>
* winpriv.c: Create win32 window if not already created * winpriv.c: Create win32 window if not already created
* winmultiwindowwindow.c: Export winCreateWindowWindow * winmultiwindowwindow.c: Export winCreateWindowWindow
2004-05-27 Alexander Gottwald <ago@freedesktop.org> 2004-05-27 Alexander Gottwald <ago at freedesktop dot org>
* win.h: Allow CYGDEBUG to defined in the Makefile * win.h: Allow CYGDEBUG to defined in the Makefile
* winwindow.h: Allow CYGWINDOWING_DEBUG to defined in the Makefile * winwindow.h: Allow CYGWINDOWING_DEBUG to defined in the Makefile
2004-05-19 Alexander Gottwald <ago@freedesktop.org> 2004-05-19 Alexander Gottwald <ago at freedesktop dot org>
* winmultiwindowicons.c (winInitGlobalIcons): Load the small default * winmultiwindowicons.c (winInitGlobalIcons): Load the small default
icon too icon too
* winprefs.h, winprefs.c (winOverrideDefaultIcon): Takes the iconsize * winprefs.h, winprefs.c (winOverrideDefaultIcon): Takes the iconsize
as parameter as parameter
2004-05-19 Alexander Gottwald <ago@freedesktop.org> 2004-05-19 Alexander Gottwald <ago at freedesktop dot org>
* win.h, winmultiwindowicons.c (winXIconToHICON): Takes iconsize * win.h, winmultiwindowicons.c (winXIconToHICON): Takes iconsize
as parameter as parameter
@ -94,14 +100,14 @@
winwin32rootless.c (winMWExtWMDestroyFrame): Use winDestroyIcon winwin32rootless.c (winMWExtWMDestroyFrame): Use winDestroyIcon
to free the icon without destroying the global icon. to free the icon without destroying the global icon.
2004-05-17 Alexander Gottwald <ago@freedesktop.org> 2004-05-17 Alexander Gottwald <ago at freedesktop dot org>
* windialogs.c (winExitDlgProc, winAboutDlgProc), * windialogs.c (winExitDlgProc, winAboutDlgProc),
winmultiwindowwndproc.c (winTopLevelWindowProc), winmultiwindowwndproc.c (winTopLevelWindowProc),
winwndproc.c (winWindowProc): Check if g_fSoftwareCursor is set winwndproc.c (winWindowProc): Check if g_fSoftwareCursor is set
before calling ShowCursor. before calling ShowCursor.
2004-05-09 Dan Wilks <Dan_Wilks@intuit.com> 2004-05-09 Dan Wilks <Dan_Wilks at intuit dot com>
* winclipboard.h: Add extern prototypes for winDebug, winErrorFVerb * winclipboard.h: Add extern prototypes for winDebug, winErrorFVerb
copied from winmsg.h. copied from winmsg.h.

View File

@ -240,24 +240,6 @@ winCreateBoundingWindowWindowed (ScreenPtr pScreen)
+ GetSystemMetrics (SM_CYCAPTION); + GetSystemMetrics (SM_CYCAPTION);
} }
} }
else
{
/*
* User gave a width and height but also said no decoration.
* In this case we have to ignore the requested width and height
* and instead use the largest possible window that we can.
*/
if (pScreenInfo->fMultipleMonitors)
{
iWidth = GetSystemMetrics (SM_CXVIRTUALSCREEN);
iHeight = GetSystemMetrics (SM_CYVIRTUALSCREEN);
}
else
{
iWidth = GetSystemMetrics (SM_CXSCREEN);
iHeight = GetSystemMetrics (SM_CYSCREEN);
}
}
} }
else else
{ {