configure_height = height;
}
- if ((ec->maximized) || (ec->fullscreen))
+ if (ec->fullscreen)
+ {
+ e_client_base_output_resolution_useful_geometry_get(ec, NULL, NULL, &mw, &mh);
+ LOG("FORCELY STAY current fullscreen size (%d %d) of E_Client, requested size "
+ "is (%d %d), the state (maximize %d, fullscreen %d)",
+ ec, mw, mh, width, height, ec->maximized, ec->fullscreen);
+ configure_width = mw;
+ configure_height = mh;
+ }
+ else if (ec->maximized)
{
e_client_maximized_geometry_get(ec, NULL, NULL, &mw, &mh);
LOG("FORCELY STAY current maximized size (%d %d) of E_Client, requested size "