diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/constraints.c | 5 |
2 files changed, 12 insertions, 1 deletions
@@ -1,11 +1,17 @@ 2005-11-21 Elijah Newren <newren@gmail.com> + * 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 <newren@gmail.com> + * doc/strut-and-related-updating.txt: It took me a little while to figure out how struts & workareas are updated and to learn what 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 <newren@gmail.com> diff --git a/src/constraints.c b/src/constraints.c index 51941aa3..7870b3f2 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; |