{"action":"created","issue":{"url":"https://api.github.com/repos/Smithay/client-toolkit/issues/26","repository_url":"https://api.github.com/repos/Smithay/client-toolkit","labels_url":"https://api.github.com/repos/Smithay/client-toolkit/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Smithay/client-toolkit/issues/26/comments","events_url":"https://api.github.com/repos/Smithay/client-toolkit/issues/26/events","html_url":"https://github.com/Smithay/client-toolkit/pull/26","id":347010743,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NzMzNzIw","number":26,"title":"Shm file","user":{"login":"trimental","id":40879396,"node_id":"MDQ6VXNlcjQwODc5Mzk2","avatar_url":"https://avatars0.githubusercontent.com/u/40879396?v=4","gravatar_id":"","url":"https://api.github.com/users/trimental","html_url":"https://github.com/trimental","followers_url":"https://api.github.com/users/trimental/followers","following_url":"https://api.github.com/users/trimental/following{/other_user}","gists_url":"https://api.github.com/users/trimental/gists{/gist_id}","starred_url":"https://api.github.com/users/trimental/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trimental/subscriptions","organizations_url":"https://api.github.com/users/trimental/orgs","repos_url":"https://api.github.com/users/trimental/repos","events_url":"https://api.github.com/users/trimental/events{/privacy}","received_events_url":"https://api.github.com/users/trimental/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-08-02T13:25:10Z","updated_at":"2018-08-05T09:40:23Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Smithay/client-toolkit/pulls/26","html_url":"https://github.com/Smithay/client-toolkit/pull/26","diff_url":"https://github.com/Smithay/client-toolkit/pull/26.diff","patch_url":"https://github.com/Smithay/client-toolkit/pull/26.patch"},"body":"After inspection of the GTK wayland backend I'm convinced that the memory file used by wayland for pixel buffering should be an anonymous shared memory file and not a temp file, [relevant GTK code](https://gitlab.gnome.org/GNOME/gtk/blob/master/gdk/wayland/gdkdisplay-wayland.c#L1229). The code I wrote uses memfd by default which is available on new linux kernel versions and shm_open as a fallback for older kernels. I think this is the standard way to implement the shared file for wayland."},"comment":{"url":"https://api.github.com/repos/Smithay/client-toolkit/issues/comments/410507991","html_url":"https://github.com/Smithay/client-toolkit/pull/26#issuecomment-410507991","issue_url":"https://api.github.com/repos/Smithay/client-toolkit/issues/26","id":410507991,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDUwNzk5MQ==","user":{"login":"trimental","id":40879396,"node_id":"MDQ6VXNlcjQwODc5Mzk2","avatar_url":"https://avatars0.githubusercontent.com/u/40879396?v=4","gravatar_id":"","url":"https://api.github.com/users/trimental","html_url":"https://github.com/trimental","followers_url":"https://api.github.com/users/trimental/followers","following_url":"https://api.github.com/users/trimental/following{/other_user}","gists_url":"https://api.github.com/users/trimental/gists{/gist_id}","starred_url":"https://api.github.com/users/trimental/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trimental/subscriptions","organizations_url":"https://api.github.com/users/trimental/orgs","repos_url":"https://api.github.com/users/trimental/repos","events_url":"https://api.github.com/users/trimental/events{/privacy}","received_events_url":"https://api.github.com/users/trimental/received_events","type":"User","site_admin":false},"created_at":"2018-08-05T09:40:23Z","updated_at":"2018-08-05T09:40:23Z","author_association":"CONTRIBUTOR","body":"Sorry, I'll remove that commit"}}
{"actor":{"display_login":"trimental"}}