Subject: Re: bug#14471: 24.1.50; GTK3 shows resize handle which cannot be disabled

From: Stefan Kangas <[email-masked]>
Date: Fri, 27 Sep 2019 12:10:59 +0200

martin rudalics <[email-masked]> writes:

> Ultimately, the decision whether to show a grip or not must be left to
> the window manager.  A tiling window manager should suppress it for
> all windows it shows.  The check mentioned by the OP is only needed
> for handling an apparent bug in a GTK 2 library
>
>    /* gtk_window_set_has_resize_grip is a Gtk+ 3.0 function but Ubuntu
>       has backported it to Gtk+ 2.0 and they add the resize grip for
>       Gtk+ 2.0 applications also.  But it has a bug that makes Emacs loop
>       forever, so disable the grip.  */
> #if (! defined HAVE_GTK3 \
>       && defined HAVE_GTK_WINDOW_SET_HAS_RESIZE_GRIP)
>    gtk_window_set_has_resize_grip (GTK_WINDOW (wtop), FALSE);
> #endif
>
> and should not be generalized because we would penalize users who do
> want to see the grip on non-tiling WMs.  But if worse comes to worst
> we could provide an option to always suppress the grip.

Does that mean that this is an issue with the window manager and not with Emacs?

Best regards,
Stefan Kangas