From c5e9b51c0d77bdf0467d47e5eeda7e9d3f994b35 Mon Sep 17 00:00:00 2001 From: Gabriele Barbero Date: Mon, 3 Nov 2025 21:58:40 +0100 Subject: [PATCH] Revert "core, display: Enable resize for GUI layer copying" This reverts commit 975d1a4aa371e2578952bfff2db3a14d9fc35f0d. --- app/core/gimpimage.c | 1 - app/display/gimpdisplayshell-dnd.c | 1 - 2 files changed, 2 deletions(-) diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c index a367de5065..7ddff6603b 100644 --- a/app/core/gimpimage.c +++ b/app/core/gimpimage.c @@ -5666,7 +5666,6 @@ gimp_image_add_layers (GimpImage *image, gimp_image_add_layer (image, GIMP_LAYER (new_item), parent, position, TRUE); - gimp_drawable_enable_resize_undo (GIMP_DRAWABLE (new_item)); position++; } diff --git a/app/display/gimpdisplayshell-dnd.c b/app/display/gimpdisplayshell-dnd.c index e5a9c438fd..a1e746eea1 100644 --- a/app/display/gimpdisplayshell-dnd.c +++ b/app/display/gimpdisplayshell-dnd.c @@ -258,7 +258,6 @@ gimp_display_shell_drop_drawable (GtkWidget *widget, gimp_image_add_layer (image, new_layer, GIMP_IMAGE_ACTIVE_PARENT, -1, TRUE); - gimp_drawable_enable_resize_undo (GIMP_DRAWABLE (new_layer)); gimp_image_undo_group_end (image);