diff --git a/ChangeLog b/ChangeLog index ac457ac84..663332138 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-21 Elijah Newren + + * src/constraints.c (place_window_if_needed): When updating the + xinerama due to placement, update which maximal/spanning rect set + to use as well + 2005-11-21 Elijah Newren * doc/strut-and-related-updating.txt: It took me a little while to @@ -5,7 +11,7 @@ all the related functions were used for so I thought I'd clean up my notes and make them available. This will probably be more useful now since regions and edges are also computed and stored at - the some time as the workareas. + the same time as the workareas. 2005-11-20 Elijah Newren diff --git a/src/constraints.c b/src/constraints.c index 51941aa33..7870b3f21 100644 --- a/src/constraints.c +++ b/src/constraints.c @@ -441,6 +441,11 @@ place_window_if_needed(MetaWindow *window, meta_window_get_work_area_for_xinerama (window, xinerama_info->number, &info->work_area_xinerama); + MetaWorkspace *cur_workspace = window->screen->active_workspace; + info->usable_xinerama_region = + meta_workspace_get_onxinerama_region (cur_workspace, + xinerama_info->number); + info->current.x = placed_rect.x; info->current.y = placed_rect.y;