{"action":"opened","issue":{"url":"https://api.github.com/repos/cheeaun/max-tabs/issues/22","repository_url":"https://api.github.com/repos/cheeaun/max-tabs","labels_url":"https://api.github.com/repos/cheeaun/max-tabs/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/cheeaun/max-tabs/issues/22/comments","events_url":"https://api.github.com/repos/cheeaun/max-tabs/issues/22/events","html_url":"https://github.com/cheeaun/max-tabs/issues/22","id":133171468,"number":22,"title":"maxtabs = 1 ignored","user":{"login":"kousu","id":987487,"avatar_url":"https://avatars.githubusercontent.com/u/987487?v=3","gravatar_id":"","url":"https://api.github.com/users/kousu","html_url":"https://github.com/kousu","followers_url":"https://api.github.com/users/kousu/followers","following_url":"https://api.github.com/users/kousu/following{/other_user}","gists_url":"https://api.github.com/users/kousu/gists{/gist_id}","starred_url":"https://api.github.com/users/kousu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kousu/subscriptions","organizations_url":"https://api.github.com/users/kousu/orgs","repos_url":"https://api.github.com/users/kousu/repos","events_url":"https://api.github.com/users/kousu/events{/privacy}","received_events_url":"https://api.github.com/users/kousu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-12T06:58:44Z","updated_at":"2016-02-12T06:58:44Z","closed_at":null,"body":"If I set the maximum number of tabs to 2, 3, or 14, MaxTabs lists the correct result.\r\n\r\nBut if I set it to 0 or 1, it jumps back to using 10.\r\n\r\nYou should disallow the 0 case or disable MaxTabs in that case (0 == +infinity).\r\nI want to use the 1 case is because I'm using a tiling Window manager, which means all my windows are *already* tabs, and embedded tabs are irritating. I realize you intended your code to be a focus aid, not a UI hack, but it happens to be good for that for me :) -- or it would be if it didn't glitch out on this case.\r\n\r\nThank you."}}