We modified code to set the saved size only when the fullscreen and maximize states
of the def_config and set_config are both false.
@tizen_only
Change-Id: Id37dd65b00772f829fb7a2391800f11cace3ab55
// TIZEN_ONLY(20220421) : update window's saved size only un-fullscreen and unmaximize state
if (!window->set_config.fullscreen && !window->set_config.maximized)
{
- window->saved.w = window->set_config.geometry.w;
- window->saved.h = window->set_config.geometry.h;
+ if (!window->def_config.fullscreen && !window->def_config.maximized)
+ {
+ window->saved.w = window->set_config.geometry.w;
+ window->saved.h = window->set_config.geometry.h;
+ }
}
//
}