GNU bug report logs - #55497
29.0.50; Emacs Windows unidentified in Wayland (correct bug-report)

Previous Next

Package: emacs;

Reported by: Julien Cubizolles <j.cubizolles <at> free.fr>

Date: Wed, 18 May 2022 08:55:01 UTC

Severity: normal

Merged with 55496

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Julien Cubizolles <j.cubizolles <at> free.fr>
Cc: 55497 <at> debbugs.gnu.org
Subject: bug#55497: 29.0.50; Emacs Windows unidentified in Wayland (correct bug-report)
Date: Thu, 19 May 2022 15:47:41 +0800
Julien Cubizolles <j.cubizolles <at> free.fr> writes:

> I have no experience in C programming. Don't know if I did the right
> thing: I added a print and return in this function:
>
> xg_set_icon_from_xpm_data (struct frame *f, const char **data)
> {
>   GdkPixbuf *pixbuf = gdk_pixbuf_new_from_xpm_data (data);
>
>   printf("Got into xg_set_icon_from_xpm_data.\n");
>   return 1;
>   if (!pixbuf)
>     return false;
>   
>   if (!FRAME_GTK_OUTER_WIDGET (f))
>     return false;
>   
>   gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), pixbuf);
>   g_object_unref (pixbuf);
>   return true;
> }
>
> and built emacs from git after ./configure --with-pgtk
> . Emacs -Q didn't print the message nor dit it
> break. It doesn't seem to get to this function.

Thanks.  I will look into this.




This bug report was last modified 3 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.