{"action":"opened","issue":{"url":"https://api.github.com/repos/PistonDevelopers/sdl2_window/issues/141","labels_url":"https://api.github.com/repos/PistonDevelopers/sdl2_window/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/PistonDevelopers/sdl2_window/issues/141/comments","events_url":"https://api.github.com/repos/PistonDevelopers/sdl2_window/issues/141/events","html_url":"https://github.com/PistonDevelopers/sdl2_window/issues/141","id":58678669,"number":141,"title":"Events are being dropped","user":{"login":"AerialX","id":117295,"avatar_url":"https://avatars.githubusercontent.com/u/117295?v=3","gravatar_id":"","url":"https://api.github.com/users/AerialX","html_url":"https://github.com/AerialX","followers_url":"https://api.github.com/users/AerialX/followers","following_url":"https://api.github.com/users/AerialX/following{/other_user}","gists_url":"https://api.github.com/users/AerialX/gists{/gist_id}","starred_url":"https://api.github.com/users/AerialX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AerialX/subscriptions","organizations_url":"https://api.github.com/users/AerialX/orgs","repos_url":"https://api.github.com/users/AerialX/repos","events_url":"https://api.github.com/users/AerialX/events{/privacy}","received_events_url":"https://api.github.com/users/AerialX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-24T01:11:05Z","updated_at":"2015-02-24T01:11:05Z","closed_at":null,"body":"Arch Linux x86_64 system here. Since the recent change to the sdl2 events, events aren't being queue'd up anymore, and timing issues will cause various events to be dropped.\r\n\r\nAs an example:\r\n\r\n    for e in event::events(window) {\r\n        match e { Event::Input(e) => println!(\"{:?}\", e), _ => () }\r\n    }\r\n\r\nMoving the mouse while pressing keys will result in tons of mismatched key events where a press, release, or both just won't get handled. This becomes really obvious when clicking the mouse: if it's not completely stationary, the press or release will usually just disappear into the void."}}