https://bugs.kde.org/show_bug.cgi?id=489103

--- Comment #6 from Konstantin Kharlamov <hi-an...@yandex.ru> ---
(In reply to Zamundaaa from comment #5)
> I meant the Emacs window, yes.
> 
> FWIW I just tested this and it spits out the clipboard content... which is
> afaict expected, as you tell it to use the clipboard?
> "xclip -o" prints the selection.
> It does however only work if the selection is from a X11 window, it prints
> > xclip: Error: There is no owner for the PRIMARY selection
> when it's from a Wayland window. This might just be xclip being weird (as
> middle click paste works fine in Discord) but it might be a bug in KWin too

I'm sorry for confusion.

Okay, so, should I maybe create a separate report (and have this one closed)
that's using X11 Emacs specifically to fetch primary selection? I mean, from
the discussion above it seems like an actual application with a window
apparently might suit better.

Btw, I just found one peculiar thing with Emacs: `middle-click` paste into
Emacs works no problem. What does not, however, is accessing primary selection
programmatically by evaluating `(gui-get-selection 'PRIMARY)`.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to