Revert "gdk: Get rid of unused variables"

This reverts commit 7016409e9f.
This commit is contained in:
Olivier Fourdan 2016-11-14 12:23:49 +01:00
parent 2520662d13
commit 5ccc570cca

View File

@ -5389,6 +5389,7 @@ gdk_window_move_resize_toplevel (GdkWindow *window,
static void
configure_native_child (GdkWindow *window)
{
GdkDisplay *display;
GdkEvent *event;
event = gdk_event_new (GDK_CONFIGURE);
@ -5441,6 +5442,7 @@ gdk_window_move_resize_internal (GdkWindow *window,
cairo_region_t *old_region, *new_region;
GdkWindowImplClass *impl_class;
gboolean expose;
int old_abs_x, old_abs_y;
g_return_if_fail (GDK_IS_WINDOW (window));
@ -5498,6 +5500,9 @@ gdk_window_move_resize_internal (GdkWindow *window,
window->height = height;
}
old_abs_x = window->abs_x;
old_abs_y = window->abs_y;
recompute_visible_regions (window, FALSE);
if (gdk_window_has_impl (window))