mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
constraints: Remove improper frame_rect_to_client_rect for placement
Constriants are now in frame rect coordinates.
This commit is contained in:
parent
3168d3b5e6
commit
c98090c061
@ -506,8 +506,6 @@ place_window_if_needed(MetaWindow *window,
|
|||||||
meta_workspace_get_onmonitor_region (cur_workspace,
|
meta_workspace_get_onmonitor_region (cur_workspace,
|
||||||
monitor_info->number);
|
monitor_info->number);
|
||||||
|
|
||||||
meta_window_frame_rect_to_client_rect (window, &placed_rect, &placed_rect);
|
|
||||||
|
|
||||||
info->current.x = placed_rect.x;
|
info->current.x = placed_rect.x;
|
||||||
info->current.y = placed_rect.y;
|
info->current.y = placed_rect.y;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user