mirror of
https://github.com/brl/mutter.git
synced 2024-11-11 00:26:40 -05:00
place: Don't require checking for changing
The only time this can change is if find_first_fit returns TRUE, at which point we already jump out.
This commit is contained in:
parent
ae4e553ddb
commit
e790c45303
@ -837,11 +837,8 @@ meta_window_place (MetaWindow *window,
|
|||||||
x, y, &x, &y))
|
x, y, &x, &y))
|
||||||
goto done_check_denied_focus;
|
goto done_check_denied_focus;
|
||||||
|
|
||||||
/* If no placement has been done, revert to cascade to avoid
|
/* No good fit? Fall back to cascading... */
|
||||||
* fully overlapping window (e.g. starting multiple terminals)
|
find_next_cascade (window, windows, x, y, &x, &y);
|
||||||
* */
|
|
||||||
if (x == xi->rect.x && y == xi->rect.y)
|
|
||||||
find_next_cascade (window, windows, x, y, &x, &y);
|
|
||||||
|
|
||||||
done_check_denied_focus:
|
done_check_denied_focus:
|
||||||
/* If the window is being denied focus and isn't a transient of the
|
/* If the window is being denied focus and isn't a transient of the
|
||||||
|
Loading…
Reference in New Issue
Block a user