Commit 55f036e7 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Don't convert the surface region to screen coordinates.

parent 02630988
...@@ -2496,13 +2496,10 @@ DECL_HANDLER(get_surface_region) ...@@ -2496,13 +2496,10 @@ DECL_HANDLER(get_surface_region)
if ((region = get_surface_region( win ))) if ((region = get_surface_region( win )))
{ {
rectangle_t *data; rectangle_t *data = get_region_data_and_free( region, get_reply_max_size(), &reply->total_size );
if (win->parent) map_win_region_to_screen( win->parent, region );
data = get_region_data_and_free( region, get_reply_max_size(), &reply->total_size );
if (data) set_reply_data_ptr( data, reply->total_size ); if (data) set_reply_data_ptr( data, reply->total_size );
} }
reply->visible_rect = win->visible_rect; reply->visible_rect = win->visible_rect;
if (win->parent) client_to_screen_rect( win->parent, &reply->visible_rect );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment