When updating the xinerama due to placement, update which maximal/spanning

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
This commit is contained in:
Elijah Newren 2005-11-21 21:35:31 +00:00 committed by Elijah Newren
parent a3902fb922
commit 3426844ad5
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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
@ -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 <newren@gmail.com>

View File

@ -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;