{"action":"created","issue":{"url":"https://api.github.com/repos/fifengine/fifengine/issues/1051","repository_url":"https://api.github.com/repos/fifengine/fifengine","labels_url":"https://api.github.com/repos/fifengine/fifengine/issues/1051/labels{/name}","comments_url":"https://api.github.com/repos/fifengine/fifengine/issues/1051/comments","events_url":"https://api.github.com/repos/fifengine/fifengine/issues/1051/events","html_url":"https://github.com/fifengine/fifengine/issues/1051","id":309699644,"number":1051,"title":"No event fired when mouse focus is lost","user":{"login":"jmdejong","id":7968950,"avatar_url":"https://avatars1.githubusercontent.com/u/7968950?v=4","gravatar_id":"","url":"https://api.github.com/users/jmdejong","html_url":"https://github.com/jmdejong","followers_url":"https://api.github.com/users/jmdejong/followers","following_url":"https://api.github.com/users/jmdejong/following{/other_user}","gists_url":"https://api.github.com/users/jmdejong/gists{/gist_id}","starred_url":"https://api.github.com/users/jmdejong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmdejong/subscriptions","organizations_url":"https://api.github.com/users/jmdejong/orgs","repos_url":"https://api.github.com/users/jmdejong/repos","events_url":"https://api.github.com/users/jmdejong/events{/privacy}","received_events_url":"https://api.github.com/users/jmdejong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-29T10:19:35Z","updated_at":"2018-03-30T13:30:30Z","closed_at":null,"author_association":"NONE","body":"The main panel (not sure how it's called) will fire mouse events on a listener you attach to it, for example mouseMoved events.\r\nHowever, when moving the mouse into some widget, the mouseMoved events will not be fired anymore.\r\nThis wouldn't be a problem if the panel would be told that it stops getting mouse events, but there is none.\r\n\r\nIf a program keeps track of the mouse position by updating it on the mouseMoved events (which seems the most sensible solution) it will incorrectly think that the mouse is still at the last position before entering the widget.\r\n\r\nA good solution would be either to fire a mouseExited event in this case, or to make a new event for this situation, for example mouseFocusLost.\r\nWith such an event a program can properly react to not getting mouse events anymore."},"comment":{"url":"https://api.github.com/repos/fifengine/fifengine/issues/comments/377524438","html_url":"https://github.com/fifengine/fifengine/issues/1051#issuecomment-377524438","issue_url":"https://api.github.com/repos/fifengine/fifengine/issues/1051","id":377524438,"user":{"login":"LinuxDonald","id":1757651,"avatar_url":"https://avatars1.githubusercontent.com/u/1757651?v=4","gravatar_id":"","url":"https://api.github.com/users/LinuxDonald","html_url":"https://github.com/LinuxDonald","followers_url":"https://api.github.com/users/LinuxDonald/followers","following_url":"https://api.github.com/users/LinuxDonald/following{/other_user}","gists_url":"https://api.github.com/users/LinuxDonald/gists{/gist_id}","starred_url":"https://api.github.com/users/LinuxDonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinuxDonald/subscriptions","organizations_url":"https://api.github.com/users/LinuxDonald/orgs","repos_url":"https://api.github.com/users/LinuxDonald/repos","events_url":"https://api.github.com/users/LinuxDonald/events{/privacy}","received_events_url":"https://api.github.com/users/LinuxDonald/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T13:30:30Z","updated_at":"2018-03-30T13:30:30Z","author_association":"CONTRIBUTOR","body":"last cegui release is very old and make maybe problems under linux.\r\nI talked with him in the last hour about cegui compile."}}
{"actor":{"display_login":"LinuxDonald"}}