{"action":"opened","issue":{"url":"https://api.github.com/repos/glfw/glfw/issues/923","repository_url":"https://api.github.com/repos/glfw/glfw","labels_url":"https://api.github.com/repos/glfw/glfw/issues/923/labels{/name}","comments_url":"https://api.github.com/repos/glfw/glfw/issues/923/comments","events_url":"https://api.github.com/repos/glfw/glfw/issues/923/events","html_url":"https://github.com/glfw/glfw/issues/923","id":197044403,"number":923,"title":"Provide a way to spcify the window drag area on an undecorrated window","user":{"login":"adambrown","id":411773,"avatar_url":"https://avatars.githubusercontent.com/u/411773?v=3","gravatar_id":"","url":"https://api.github.com/users/adambrown","html_url":"https://github.com/adambrown","followers_url":"https://api.github.com/users/adambrown/followers","following_url":"https://api.github.com/users/adambrown/following{/other_user}","gists_url":"https://api.github.com/users/adambrown/gists{/gist_id}","starred_url":"https://api.github.com/users/adambrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambrown/subscriptions","organizations_url":"https://api.github.com/users/adambrown/orgs","repos_url":"https://api.github.com/users/adambrown/repos","events_url":"https://api.github.com/users/adambrown/events{/privacy}","received_events_url":"https://api.github.com/users/adambrown/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-21T22:06:49Z","updated_at":"2016-12-21T22:06:49Z","closed_at":null,"body":"I am doing exactly what @Andos is doing here: #902. Creating windows with completely re-purposed title bar area. The current trend on Windows 10, and possibly some other platforms as well given that @Andos is doing it on OSX, seems to be that the title bar is dead (Firefox, Chrome, Edge, Photoshop, Visual Studio, and a multitude of others, too numerous to name or remember off the top of my head, seem to agree). This space can be better used by moving up your menu, toolbar, tabs or whatever you have right below the title bar in order to maximize usable space.\r\n\r\nAll of these examples given above provide some portion of the former title bar as a drag area for moving the window. It would be nice if GLFW provided a way to specify a dynamically resizable area, probably a rectangle, within an un-decorated window to use as a drag handle, to provide native window dragging functionality without a title bar.\r\n\r\nIn #902 @Andos gives an example of how this can be hacked around OSX with `performWindowDragWithEvent`. In windows this is done with `Window.DragMove`. Combined with the native resizing functionality in #902 this will allow fully functional undecorated windows like those used by Firefox, Chrome, Photoshop etc..."}}
{"actor":{"display_login":"adambrown"}}