GNU bug report logs - #63614
29.0.91; PGTK Emacs crashes after clearing the clipboard

Previous Next

Package: emacs;

Reported by: Leonardo Hernández <leohdz172 <at> proton.me>

Date: Sat, 20 May 2023 19:51:01 UTC

Severity: normal

Found in version 29.0.91

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Leonardo Hernández Hernández <leohdz172 <at> proton.me>
Cc: 63614 <at> debbugs.gnu.org
Subject: bug#63614: 29.0.91; PGTK Emacs crashes after clearing the clipboard
Date: Thu, 25 May 2023 18:35:56 +0800
OK, thanks.  Does the crash still happen with this?

diff --git a/src/pgtkterm.c b/src/pgtkterm.c
index b8c626d81d8..bbe68f04adc 100644
--- a/src/pgtkterm.c
+++ b/src/pgtkterm.c
@@ -6606,8 +6606,7 @@ pgtk_selection_event (GtkWidget *widget, GdkEvent *event,
 
   if (event->type == GDK_PROPERTY_NOTIFY)
     pgtk_handle_property_notify (&event->property);
-  else if (event->type == GDK_SELECTION_CLEAR
-	   || event->type == GDK_SELECTION_REQUEST)
+  else if (event->type == GDK_SELECTION_REQUEST)
     {
       f = pgtk_find_selection_owner (event->selection.window);
 




This bug report was last modified 2 years and 22 days ago.

Previous Next


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