mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
src/gui/components/cc_frm_window.cpp dont paint over screen size
Origin commit data
------------------
Commit: 912017621b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-20 (Sat, 20 Aug 2016)
This commit is contained in:
@@ -170,8 +170,13 @@ void CComponentsWindow::initWindowSize()
|
|||||||
|
|
||||||
if (width == 0)
|
if (width == 0)
|
||||||
width = frameBuffer->getScreenWidth();
|
width = frameBuffer->getScreenWidth();
|
||||||
|
else if ((unsigned)width > frameBuffer->getScreenWidth())
|
||||||
|
width = frameBuffer->getScreenWidth();
|
||||||
|
|
||||||
if (height == 0)
|
if (height == 0)
|
||||||
height = frameBuffer->getScreenHeight();
|
height = frameBuffer->getScreenHeight();
|
||||||
|
else if((unsigned)height > frameBuffer->getScreenHeight())
|
||||||
|
height = frameBuffer->getScreenHeight();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CComponentsWindow::initWindowPos()
|
void CComponentsWindow::initWindowPos()
|
||||||
|
Reference in New Issue
Block a user