We allow this in Windows, and I don't see any reason to disallow it ...
This commit is contained in:
@@ -87,10 +87,9 @@ CString LowLevelWindow_X11::TryVideoMode( const VideoModeParams &p, bool &bNewDe
|
|||||||
XEvent ev;
|
XEvent ev;
|
||||||
stack<XEvent> otherEvs;
|
stack<XEvent> otherEvs;
|
||||||
|
|
||||||
// XXX: LLW_SDL allows the window to be resized. Do we really want to?
|
hints.flags = PBaseSize;
|
||||||
hints.flags = PMinSize | PMaxSize | PBaseSize;
|
hints.base_width = p.width;
|
||||||
hints.min_width = hints.max_width = hints.base_width = p.width;
|
hints.base_height = p.height;
|
||||||
hints.min_height = hints.max_height = hints.base_height = p.height;
|
|
||||||
|
|
||||||
if( !m_bWindowIsOpen || p.bpp != CurrentParams.bpp || ( m_bWasWindowed != p.windowed ) )
|
if( !m_bWindowIsOpen || p.bpp != CurrentParams.bpp || ( m_bWasWindowed != p.windowed ) )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user