Determining a Wayland window ID from Python
Matthias Clasen
mclasen at redhat.com
Thu Jul 4 00:00:14 UTC 2019
On Wed, Jul 3, 2019 at 5:42 PM David Strauss <david at davidstrauss.net> wrote:
> On Wed, Jul 3, 2019 at 2:11 PM Matthias Clasen <mclasen at redhat.com> wrote:
>
>> Wayland surfaces don't have a public ID unless you explicitly create one
>> using the zxdg_exporter protocol.
>> The client-side api for this is gdk_wayland_window_export_handle. If this
>> seems too much hassle, just
>> passing an empty string will work fine for most purposes.
>>
>
> I'm currently using an empty string as a workaround, but I'd still like to
> get this more correct for the long-term. Do you know if there is any Python
> equivalent of gdk_wayland_window_export_handle()? I haven't had luck
> finding one. (I can barely find any use of the symbol even in its original
> C form.)
>
I don't know about python, sorry. Most uses of that function are probably
buries inside GTK, since we have portal implementations for the common
dialogs, like file chooser, print dialog, etc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20190703/76f9a207/attachment-0001.html>
More information about the Flatpak
mailing list