From 2936b36164ded60e0257f1ee872ff333bc4f4abd Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Fri, 22 May 2026 06:46:47 +0300 Subject: [PATCH] Fix "assertion 'GTK_IS_WINDOW (window)' failed" * src/gtkutil.c (xg_frame_set_size_and_position): Remove a gtk_window_resize call which used a wrong value type (GdkX11Window instead of GtkWindow). The original motivation for that line seems to be fixed by later changes (bug#80662). --- src/gtkutil.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gtkutil.c b/src/gtkutil.c index daa3fd1b993..4fc6b3e0108 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -1352,8 +1352,6 @@ xg_frame_set_size_and_position (struct frame *f, int width, int height) gdk_window_move_resize (gwin, x, y, outer_width, outer_height); if (FRAME_PARENT_FRAME (f)) { - /* Record the dimensions for GTK to remember after remapping. */ - gtk_window_resize (GTK_WINDOW (gwin), outer_width, outer_height); /* Resize all inner widgets and Cairo surface right away so the next redisplay drawing isn't clipped to the old size. */ GtkAllocation alloc = {0, 0, outer_width, outer_height};