Subject: Re: bug#53957: 29.0.50; pgtk: starting emacsclient from thunar breaks X clipboard access

From: Sébastien Miquel <[email-masked]>
Date: Sun, 13 Feb 2022 08:08:45 +0000

Po Lu writes:
> If you're using X, you shouldn't be using PGTK.  The support provided by
> the real X port is miles ahead of what GTK can offer.
Is --with-xinput2 supposed to work well without PGTK ? I run into a
separate issue with key bindings that makes it unusable without.
> That aside, I suspect emacsclient is causing Emacs to open a second
> display connection, which causes clipboard access in PGTK to be disabled
> due to a GTK bug.
>
> What does (x-display-list) evaluate to in the buggy Emacs, after you
> create the other frame which causes the bug?
Indeed, (x-diplay-list) originally reports (":0.0"), and after the
second frame is created, (":0.0" ":0").

If the bug is with GTK, can you think of any workaround on my end ?
> Thanks.

Thank you.

-- 
Sébastien Miquel