diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c index b70be3cbff..a849e260a8 100644 --- a/gdk/win32/gdkwindow-win32.c +++ b/gdk/win32/gdkwindow-win32.c @@ -2353,8 +2353,6 @@ gdk_win32_window_shape_combine_mask (GdkWindow *window, GDK_NOTE (MISC, g_print ("gdk_window_shape_combine_mask: %p: none\n", GDK_WINDOW_HWND (window))); SetWindowRgn (GDK_WINDOW_HWND (window), NULL, TRUE); - - private->shaped = FALSE; } else { @@ -2368,8 +2366,6 @@ gdk_win32_window_shape_combine_mask (GdkWindow *window, hrgn = _gdk_win32_bitmap_to_hrgn (mask); do_shape_combine_region (window, hrgn, x, y); - - private->shaped = TRUE; } } @@ -3422,8 +3418,6 @@ gdk_win32_window_shape_combine_region (GdkWindow *window, GDK_NOTE (MISC, g_print ("gdk_window_shape_combine_region: %p: none\n", GDK_WINDOW_HWND (window))); SetWindowRgn (GDK_WINDOW_HWND (window), NULL, TRUE); - - private->shaped = FALSE; } else { @@ -3436,8 +3430,6 @@ gdk_win32_window_shape_combine_region (GdkWindow *window, hrgn)); do_shape_combine_region (window, hrgn, offset_x, offset_y); - - private->shaped = TRUE; } } diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index ba9a33e176..1682151bb1 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -3424,9 +3424,6 @@ do_shape_combine_region (GdkWindow *window, ? gdk_display_supports_shapes (GDK_WINDOW_DISPLAY (window)) : gdk_display_supports_input_shapes (GDK_WINDOW_DISPLAY (window))) { - if (shape == ShapeBounding) - private->shaped = FALSE; - if (shape == ShapeBounding) { _gdk_x11_window_tmp_unset_parent_bg (window); @@ -3454,9 +3451,6 @@ do_shape_combine_region (GdkWindow *window, gint n_rects = 0; XRectangle *xrects = NULL; - if (shape == ShapeBounding) - private->shaped = TRUE; - _gdk_region_get_xrectangles (shape_region, 0, 0, &xrects, &n_rects);