mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-01 04:45:37 +00:00
fixed unhandled destroy screen in Application:restore_screens_size
This commit is contained in:
parent
3ca28ddf28
commit
270a1e6df3
@ -1449,7 +1449,7 @@ void Application::enter_full_screen()
|
||||
void Application::restore_screens_size()
|
||||
{
|
||||
for (int i = 0; i < (int)_screens.size(); i++) {
|
||||
if (_screens[i]->is_size_locked()) {
|
||||
if (!_screens[i] || _screens[i]->is_size_locked()) {
|
||||
continue;
|
||||
}
|
||||
_screens[i]->resize(SCREEN_INIT_WIDTH, SCREEN_INIT_HEIGHT);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user