wayland: Fix get_frame_extents

We need to traverse up the hierarchy for windows here. Just use
our existing helper method for this.
This commit is contained in:
Jasper St. Pierre
2014-03-17 15:41:08 -04:00
parent efdd68b3b0
commit 4eb7dac75b

View File

@ -1667,8 +1667,7 @@ static void
gdk_wayland_window_get_frame_extents (GdkWindow *window,
GdkRectangle *rect)
{
rect->x = window->x;
rect->y = window->y;
gdk_wayland_window_get_fake_root_coords (window, &rect->x, &rect->y);
rect->width = window->width;
rect->height = window->height;
}