mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:27:43 +00:00
WindowServer: Add sanity checks to create_window
IPC
This commit is contained in:
parent
ef92493aba
commit
0ff09d4f74
3 changed files with 10 additions and 2 deletions
|
@ -208,7 +208,8 @@ void Window::nudge_into_desktop(bool force_titlebar_visible)
|
|||
|
||||
void Window::set_minimum_size(const Gfx::IntSize& size)
|
||||
{
|
||||
VERIFY(!size.is_empty());
|
||||
if (size.is_null())
|
||||
return;
|
||||
|
||||
if (m_minimum_size == size)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue