{"action":"created","issue":{"url":"https://api.github.com/repos/i3/i3/issues/1975","labels_url":"https://api.github.com/repos/i3/i3/issues/1975/labels{/name}","comments_url":"https://api.github.com/repos/i3/i3/issues/1975/comments","events_url":"https://api.github.com/repos/i3/i3/issues/1975/events","html_url":"https://github.com/i3/i3/issues/1975","id":109557967,"number":1975,"title":"Inconsistent focus fallback behavior","user":{"login":"Airblader","id":2392216,"avatar_url":"https://avatars.githubusercontent.com/u/2392216?v=3","gravatar_id":"","url":"https://api.github.com/users/Airblader","html_url":"https://github.com/Airblader","followers_url":"https://api.github.com/users/Airblader/followers","following_url":"https://api.github.com/users/Airblader/following{/other_user}","gists_url":"https://api.github.com/users/Airblader/gists{/gist_id}","starred_url":"https://api.github.com/users/Airblader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Airblader/subscriptions","organizations_url":"https://api.github.com/users/Airblader/orgs","repos_url":"https://api.github.com/users/Airblader/repos","events_url":"https://api.github.com/users/Airblader/events{/privacy}","received_events_url":"https://api.github.com/users/Airblader/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/i3/i3/labels/4.11","name":"4.11","color":"009800"},{"url":"https://api.github.com/repos/i3/i3/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/i3/i3/labels/discussion","name":"discussion","color":"fef2c0"},{"url":"https://api.github.com/repos/i3/i3/labels/missing-log","name":"missing-log","color":"ededed"},{"url":"https://api.github.com/repos/i3/i3/labels/reproducible","name":"reproducible","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-02T19:36:07Z","updated_at":"2015-10-11T11:44:49Z","closed_at":null,"body":"A user described [this incident](https://faq.i3wm.org/question/6767/automatically-move-focus-back-to-tiling-when-floating-window-is-closed/?comment=6777#comment-6777) on the FAQ page. I can reproduce that I think is taking place here as follows.\r\n\r\nSet up containers 1 through 4 as shown in the picture below. Now focus, in this order, 3–1–4–2. If you now keep closing the terminals, the focus will jump to 4 and then to 3, the other floating container, and not 1, which a user may expect to happen.\r\n\r\nNow set up the same situation again and focus in the same order, 3–1–4–2. Type `sleep 3 && exit` into terminal 2 and switch focus to terminal 4. Once 2 is closed, if you exit out of terminal 4, focus will jump to terminal 1 and not 3 as before, even though from the user point of view there's not much of a difference between the two situations.\r\n\r\n![screenshot-2015-10-02_21-30-49](https://cloud.githubusercontent.com/assets/2392216/10255895/ab3d4c28-694d-11e5-9705-976132aaa7c6.png)\r\n\r\n\r\ni3 4.11"},"comment":{"url":"https://api.github.com/repos/i3/i3/issues/comments/147185680","html_url":"https://github.com/i3/i3/issues/1975#issuecomment-147185680","issue_url":"https://api.github.com/repos/i3/i3/issues/1975","id":147185680,"user":{"login":"Airblader","id":2392216,"avatar_url":"https://avatars.githubusercontent.com/u/2392216?v=3","gravatar_id":"","url":"https://api.github.com/users/Airblader","html_url":"https://github.com/Airblader","followers_url":"https://api.github.com/users/Airblader/followers","following_url":"https://api.github.com/users/Airblader/following{/other_user}","gists_url":"https://api.github.com/users/Airblader/gists{/gist_id}","starred_url":"https://api.github.com/users/Airblader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Airblader/subscriptions","organizations_url":"https://api.github.com/users/Airblader/orgs","repos_url":"https://api.github.com/users/Airblader/repos","events_url":"https://api.github.com/users/Airblader/events{/privacy}","received_events_url":"https://api.github.com/users/Airblader/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T11:44:49Z","updated_at":"2015-10-11T11:44:49Z","body":"No, that's not the same issue. I have a theory of what is going on there and it might be the behavior one should expect , but I'll check in on this later. Can you open this as a separate issue please? "}}