patch from Stéphane Rosi to allow moving maximized windows between

2006-08-07  Elijah Newren  <newren gmail com>

	* src/constraints.c (setup_constraint_info): patch from Stéphane
	Rosi to allow moving maximized windows between xineramas again.
	#323820
This commit is contained in:
Elijah Newren 2006-08-08 00:36:04 +00:00 committed by Elijah Newren
parent fc23f9b22f
commit 9fe845581b
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2006-08-07 Elijah Newren <newren gmail com>
* src/constraints.c (setup_constraint_info): patch from Stéphane
Rosi to allow moving maximized windows between xineramas again.
#323820
2006-08-07 Elijah Newren <newren gmail com>
* configure.in: post-release version bump to 2.15.34

View File

@ -385,10 +385,11 @@ setup_constraint_info (ConstraintInfo *info,
if (!info->is_user_action)
info->fixed_directions = 0;
meta_window_get_work_area_current_xinerama (window, &info->work_area_xinerama);
xinerama_info =
meta_screen_get_xinerama_for_window (window->screen, window);
meta_screen_get_xinerama_for_rect (window->screen, &info->current);
meta_window_get_work_area_for_xinerama (window,
xinerama_info->number,
&info->work_area_xinerama);
info->entire_xinerama = xinerama_info->rect;
cur_workspace = window->screen->active_workspace;