bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56792: 29.0.50; Emacs crashes when selecting text if xfreerdp is als


From: David Welch
Subject: bug#56792: 29.0.50; Emacs crashes when selecting text if xfreerdp is also running
Date: Thu, 28 Jul 2022 08:24:32 +0000

Are you sure? It looks to me like it uses replace except for the case of INCR (which isn't implemented in pgtkselect.c).

for (cs = frame->converted_selections; cs; cs = cs->next)
{
if (cs->property == None)
continue;
bytes_remaining = cs->size;
bytes_remaining *= cs->format >> 3;
if (bytes_remaining <= max_bytes)
{
/* Send all the data at once, with minimal handshaking. */
TRACE1 ("Sending all %"pD"d bytes", bytes_remaining);
XChangeProperty (display, window, cs->property,
cs->type, cs->format, PropModeReplace,
cs->data, cs->size);
}


From: Po Lu <luangruo@yahoo.com>
Sent: 28 July 2022 01:39
To: David Welch <davidwelch158@hotmail.com>
Cc: 56792-done@debbugs.gnu.org <56792-done@debbugs.gnu.org>
Subject: Re: bug#56792: 29.0.50; Emacs crashes when selecting text if xfreerdp is also running

> Of interest, what's the reason for not using GDK_PROP_MODE_REPLACE
> when setting the property in response to a selection request?

No reason in particular, the code is just kept closer to xselect.c.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]