{"action":"created","issue":{"url":"https://api.github.com/repos/Warsow/qfusion/issues/144","labels_url":"https://api.github.com/repos/Warsow/qfusion/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/Warsow/qfusion/issues/144/comments","events_url":"https://api.github.com/repos/Warsow/qfusion/issues/144/events","html_url":"https://github.com/Warsow/qfusion/issues/144","id":57033098,"number":144,"title":"[Linux/X11/XI2] Keyboard doesn't work after running the game from Steam","user":{"login":"adem4ik","id":4707112,"avatar_url":"https://avatars.githubusercontent.com/u/4707112?v=3","gravatar_id":"","url":"https://api.github.com/users/adem4ik","html_url":"https://github.com/adem4ik","followers_url":"https://api.github.com/users/adem4ik/followers","following_url":"https://api.github.com/users/adem4ik/following{/other_user}","gists_url":"https://api.github.com/users/adem4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/adem4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adem4ik/subscriptions","organizations_url":"https://api.github.com/users/adem4ik/orgs","repos_url":"https://api.github.com/users/adem4ik/repos","events_url":"https://api.github.com/users/adem4ik/events{/privacy}","received_events_url":"https://api.github.com/users/adem4ik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"viciious","id":1173058,"avatar_url":"https://avatars.githubusercontent.com/u/1173058?v=3","gravatar_id":"","url":"https://api.github.com/users/viciious","html_url":"https://github.com/viciious","followers_url":"https://api.github.com/users/viciious/followers","following_url":"https://api.github.com/users/viciious/following{/other_user}","gists_url":"https://api.github.com/users/viciious/gists{/gist_id}","starred_url":"https://api.github.com/users/viciious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viciious/subscriptions","organizations_url":"https://api.github.com/users/viciious/orgs","repos_url":"https://api.github.com/users/viciious/repos","events_url":"https://api.github.com/users/viciious/events{/privacy}","received_events_url":"https://api.github.com/users/viciious/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Warsow/qfusion/milestones/1","html_url":"https://github.com/Warsow/qfusion/milestones/nextrel","labels_url":"https://api.github.com/repos/Warsow/qfusion/milestones/1/labels","id":425705,"number":1,"title":"nextrel","description":"Next release of qfusion and warsow","creator":{"login":"viciious","id":1173058,"avatar_url":"https://avatars.githubusercontent.com/u/1173058?v=3","gravatar_id":"","url":"https://api.github.com/users/viciious","html_url":"https://github.com/viciious","followers_url":"https://api.github.com/users/viciious/followers","following_url":"https://api.github.com/users/viciious/following{/other_user}","gists_url":"https://api.github.com/users/viciious/gists{/gist_id}","starred_url":"https://api.github.com/users/viciious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viciious/subscriptions","organizations_url":"https://api.github.com/users/viciious/orgs","repos_url":"https://api.github.com/users/viciious/repos","events_url":"https://api.github.com/users/viciious/events{/privacy}","received_events_url":"https://api.github.com/users/viciious/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":11,"state":"open","created_at":"2013-09-12T10:17:24Z","updated_at":"2015-05-05T19:49:32Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-02-09T13:53:58Z","updated_at":"2015-05-12T08:45:28Z","closed_at":null,"body":"As topic says Steam doesn't allow keyboard input to work with the latest dev QF/WSW version. After a little research I've found that such behivour was caused by my X11 input patch which enabled Alt+Tab/background keys support by not grabbing keyboard at all https://github.com/Warsow/qfusion/commit/1e2d16305276c6c9bfe4efcbd7019fe674ec8e0f But reverting that patch would result that Alt+Tab/Steam Overlay/any other background shortkeys wont work. I really dunno what exactly causes such behevoir, but may be Steam grubs keyboard completely and doesn't give it back to the game, or it is because of Steam shipping with its own versions of some libraries (the \"Steam Runtime\") in an attempt to emulate the Ubuntu 12.04 environment.\r\n\r\nTried SDL2 version, and it seems to work nicely w/o any conflicts except other not yet fixed SDL2's things.\r\n\r\nSo here are possible solutions from my view:\r\n1) Revert that X11 patch only for Steam version of the game (by #ifdef __STEAM__ or smth).\r\n2) Using SDL2 for input at least for Steam version (but still there is now raw mouse input).\r\n3) Wait for someone to fix it in our X11 input implementation.\r\n4) Or if it is Steam issue, wait till they fix it, but it is gonna take too much time (i'm gonna post similar issue in their repo later)."},"comment":{"url":"https://api.github.com/repos/Warsow/qfusion/issues/comments/101191375","html_url":"https://github.com/Warsow/qfusion/issues/144#issuecomment-101191375","issue_url":"https://api.github.com/repos/Warsow/qfusion/issues/144","id":101191375,"user":{"login":"viciious","id":1173058,"avatar_url":"https://avatars.githubusercontent.com/u/1173058?v=3","gravatar_id":"","url":"https://api.github.com/users/viciious","html_url":"https://github.com/viciious","followers_url":"https://api.github.com/users/viciious/followers","following_url":"https://api.github.com/users/viciious/following{/other_user}","gists_url":"https://api.github.com/users/viciious/gists{/gist_id}","starred_url":"https://api.github.com/users/viciious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viciious/subscriptions","organizations_url":"https://api.github.com/users/viciious/orgs","repos_url":"https://api.github.com/users/viciious/repos","events_url":"https://api.github.com/users/viciious/events{/privacy}","received_events_url":"https://api.github.com/users/viciious/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T08:45:28Z","updated_at":"2015-05-12T08:45:28Z","body":"Did switching to SDL help?"}}