{"action":"created","issue":{"url":"https://api.github.com/repos/swaywm/sway/issues/3025","repository_url":"https://api.github.com/repos/swaywm/sway","labels_url":"https://api.github.com/repos/swaywm/sway/issues/3025/labels{/name}","comments_url":"https://api.github.com/repos/swaywm/sway/issues/3025/comments","events_url":"https://api.github.com/repos/swaywm/sway/issues/3025/events","html_url":"https://github.com/swaywm/sway/issues/3025","id":375187610,"node_id":"MDU6SXNzdWUzNzUxODc2MTA=","number":3025,"title":"Window focus does not update when switching between workspaces.","user":{"login":"c-edw","id":38229097,"node_id":"MDQ6VXNlcjM4MjI5MDk3","avatar_url":"https://avatars1.githubusercontent.com/u/38229097?v=4","gravatar_id":"","url":"https://api.github.com/users/c-edw","html_url":"https://github.com/c-edw","followers_url":"https://api.github.com/users/c-edw/followers","following_url":"https://api.github.com/users/c-edw/following{/other_user}","gists_url":"https://api.github.com/users/c-edw/gists{/gist_id}","starred_url":"https://api.github.com/users/c-edw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-edw/subscriptions","organizations_url":"https://api.github.com/users/c-edw/orgs","repos_url":"https://api.github.com/users/c-edw/repos","events_url":"https://api.github.com/users/c-edw/events{/privacy}","received_events_url":"https://api.github.com/users/c-edw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-29T19:51:07Z","updated_at":"2018-10-30T04:13:56Z","closed_at":"2018-10-30T02:10:43Z","author_association":"CONTRIBUTOR","body":"When switching between workspaces, the window that the cursor is hovering over is not always focused. See below for example.\r\n\r\n![out](https://user-images.githubusercontent.com/38229097/47686419-f7189a80-dbd2-11e8-878b-612088cc4d9a.png)\r\n\r\nVersion:\r\n```\r\nsway version 1.0-beta.1-108-gb90af335 (Oct 29 2018, branch 'master')\r\n```\r\n\r\nSteps to produce:\r\n1. Start Sway\r\n2. Move to workspace 1\r\n3. Open two terminals \r\n4. Focus the left terminal by hovering over it with your cursor\r\n5. Move to workspace 2\r\n5. Open two terminals\r\n6. Focus the right terminal by hovering over it with your cursor. Keep your cursor in that position.\r\n7. Move back to workspace 1\r\n8. Observe that the left terminal remains focused in workspace 1 despite the cursor hovering over the right terminal."},"comment":{"url":"https://api.github.com/repos/swaywm/sway/issues/comments/434165969","html_url":"https://github.com/swaywm/sway/issues/3025#issuecomment-434165969","issue_url":"https://api.github.com/repos/swaywm/sway/issues/3025","id":434165969,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDE2NTk2OQ==","user":{"login":"SirCmpwn","id":1310872,"node_id":"MDQ6VXNlcjEzMTA4NzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1310872?v=4","gravatar_id":"","url":"https://api.github.com/users/SirCmpwn","html_url":"https://github.com/SirCmpwn","followers_url":"https://api.github.com/users/SirCmpwn/followers","following_url":"https://api.github.com/users/SirCmpwn/following{/other_user}","gists_url":"https://api.github.com/users/SirCmpwn/gists{/gist_id}","starred_url":"https://api.github.com/users/SirCmpwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirCmpwn/subscriptions","organizations_url":"https://api.github.com/users/SirCmpwn/orgs","repos_url":"https://api.github.com/users/SirCmpwn/repos","events_url":"https://api.github.com/users/SirCmpwn/events{/privacy}","received_events_url":"https://api.github.com/users/SirCmpwn/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T04:13:56Z","updated_at":"2018-10-30T04:13:56Z","author_association":"MEMBER","body":"Sway isn't designed for a mouse-based workflow :wink: \r\n\r\nI would accept a patch which extends `focus_follows_mouse` with such an option, though."}}
{"actor":{"display_login":"SirCmpwn"}}