382,390c382,385
<   /* Retrieve the xinerama information for the desired location of the window,
<    * that is where the cursor is. This allows a better handling when moving a
<    * maximized window.
<    */
<     
<   xinerama_info = meta_screen_get_current_xinerama (window->screen);
<   meta_window_get_work_area_for_xinerama (window,
< 		                          xinerama_info->number,
< 					  &info->work_area_xinerama);
---
>   meta_window_get_work_area_current_xinerama (window, &info->work_area_xinerama);
> 
>   xinerama_info =
>     meta_screen_get_xinerama_for_window (window->screen, window);
