window: remove redundant condition
This condition is already checked for at this point.
This commit is contained in:
parent
779ef582f1
commit
d3edcbc11e
@ -8745,7 +8745,6 @@ update_resize (MetaWindow *window,
|
|||||||
*/
|
*/
|
||||||
if (old.width != new_w || old.height != new_h)
|
if (old.width != new_w || old.height != new_h)
|
||||||
{
|
{
|
||||||
if ((window->display->grab_resize_unmaximize == new_unmaximize))
|
|
||||||
meta_window_resize_with_gravity (window, TRUE, new_w, new_h, gravity);
|
meta_window_resize_with_gravity (window, TRUE, new_w, new_h, gravity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user