{"action":"created","issue":{"url":"https://api.github.com/repos/tomaka/winit/issues/221","repository_url":"https://api.github.com/repos/tomaka/winit","labels_url":"https://api.github.com/repos/tomaka/winit/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/tomaka/winit/issues/221/comments","events_url":"https://api.github.com/repos/tomaka/winit/issues/221/events","html_url":"https://github.com/tomaka/winit/issues/221","id":242187169,"node_id":"MDU6SXNzdWUyNDIxODcxNjk=","number":221,"title":"Consider options for redefining locations where the user can drag, resize, close, etc. a window","user":{"login":"LaylConway","id":3094382,"node_id":"MDQ6VXNlcjMwOTQzODI=","avatar_url":"https://avatars3.githubusercontent.com/u/3094382?v=4","gravatar_id":"","url":"https://api.github.com/users/LaylConway","html_url":"https://github.com/LaylConway","followers_url":"https://api.github.com/users/LaylConway/followers","following_url":"https://api.github.com/users/LaylConway/following{/other_user}","gists_url":"https://api.github.com/users/LaylConway/gists{/gist_id}","starred_url":"https://api.github.com/users/LaylConway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaylConway/subscriptions","organizations_url":"https://api.github.com/users/LaylConway/orgs","repos_url":"https://api.github.com/users/LaylConway/repos","events_url":"https://api.github.com/users/LaylConway/events{/privacy}","received_events_url":"https://api.github.com/users/LaylConway/received_events","type":"User","site_admin":false},"labels":[{"id":924443561,"node_id":"MDU6TGFiZWw5MjQ0NDM1NjE=","url":"https://api.github.com/repos/tomaka/winit/labels/difficulty:%20average","name":"difficulty: average","color":"FFB8C1","default":false},{"id":474349895,"node_id":"MDU6TGFiZWw0NzQzNDk4OTU=","url":"https://api.github.com/repos/tomaka/winit/labels/platform:%20Windows","name":"platform: Windows","color":"FFF882","default":false},{"id":924444289,"node_id":"MDU6TGFiZWw5MjQ0NDQyODk=","url":"https://api.github.com/repos/tomaka/winit/labels/priority:%20low","name":"priority: low","color":"EFD0FE","default":false},{"id":330617023,"node_id":"MDU6TGFiZWwzMzA2MTcwMjM=","url":"https://api.github.com/repos/tomaka/winit/labels/status:%20help%20wanted","name":"status: help wanted","color":"C7FEC1","default":false},{"id":474350557,"node_id":"MDU6TGFiZWw0NzQzNTA1NTc=","url":"https://api.github.com/repos/tomaka/winit/labels/type:%20api","name":"type: api","color":"C4F2FF","default":false},{"id":330617022,"node_id":"MDU6TGFiZWwzMzA2MTcwMjI=","url":"https://api.github.com/repos/tomaka/winit/labels/type:%20enhancement","name":"type: enhancement","color":"C4F2FF","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-07-11T21:20:27Z","updated_at":"2018-07-02T20:42:20Z","closed_at":null,"author_association":"NONE","body":"This is most likely low priority but a nice-to-have for making custom styled windows using borderless windows, and still allowing the user to drag a custom rendered title bar. On windows this is implemented using `WM_NCHITTEST`, which allows the application to define custom areas that can do these operations."},"comment":{"url":"https://api.github.com/repos/tomaka/winit/issues/comments/401928453","html_url":"https://github.com/tomaka/winit/issues/221#issuecomment-401928453","issue_url":"https://api.github.com/repos/tomaka/winit/issues/221","id":401928453,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTkyODQ1Mw==","user":{"login":"francesca64","id":2096580,"node_id":"MDQ6VXNlcjIwOTY1ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/2096580?v=4","gravatar_id":"","url":"https://api.github.com/users/francesca64","html_url":"https://github.com/francesca64","followers_url":"https://api.github.com/users/francesca64/followers","following_url":"https://api.github.com/users/francesca64/following{/other_user}","gists_url":"https://api.github.com/users/francesca64/gists{/gist_id}","starred_url":"https://api.github.com/users/francesca64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francesca64/subscriptions","organizations_url":"https://api.github.com/users/francesca64/orgs","repos_url":"https://api.github.com/users/francesca64/repos","events_url":"https://api.github.com/users/francesca64/events{/privacy}","received_events_url":"https://api.github.com/users/francesca64/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T20:42:20Z","updated_at":"2018-07-02T20:42:20Z","author_association":"COLLABORATOR","body":"It's a client message sent to the root window; a hint is just a window property. I can't say whether or not this qualifies as a protocol without getting needlessly pedantic, but my main reason for mentioning it was because [protocols can be a big pain](https://specifications.freedesktop.org/startup-notification-spec/startup-notification-latest.txt). That's not an issue here, though.\r\n\r\n> Do you think I could work on this a little?\r\n\r\nFeel free! Reviewing/advising other people's PRs is more fun than making my own, to be honest.\r\n\r\nFortunately, winit's X11 `util` module (authored by yours truly) contains a bunch of convenience/safety wrappers for various Xlib functions. `send_client_msg` is the one you want for this.\r\n\r\nI'd say winit itself is pretty good reference material for learning how to program X11 clients, since I've generally tried to do things in maintainable ways. You can also just ask me things, since what you'll discover is that almost nobody in the past decade and a half has directly touched this stuff, and thus learning resources are super scarce."}}
{"actor":{"display_login":"francesca64"}}