[Wayland-bugs] [Bug 782325] wayland: Add possibility to get the exported handle multiple times

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon May 8 13:00:02 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=782325

--- Comment #1 from Jonas Ã…dahl <jadahl at gmail.com> ---
Created attachment 351349
  --> https://bugzilla.gnome.org/attachment.cgi?id=351349&action=edit
GdkWaylandWindow: Allow calling export() multiple time

Allow getting the same export handle multiple times by calling
gdk_wayland_window_export_handle() multiple times. For each time
export() is called, a unexport() must be called to unexport.

When the window is already exported, the exported callback is called
via a idle handler. If there are multiple export() calls, they are
invoked in order either when the handle is received by the display
server, or when the idle callback is invoked.

Calling unexport() will not affect future invokations of the exported
callback, unless all export() calls have their unexport() call count
matched.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170508/9ba35f30/attachment.html>


More information about the wayland-bugs mailing list