{"action":"closed","issue":{"url":"https://api.github.com/repos/kvirc/KVIrc/issues/1941","repository_url":"https://api.github.com/repos/kvirc/KVIrc","labels_url":"https://api.github.com/repos/kvirc/KVIrc/issues/1941/labels{/name}","comments_url":"https://api.github.com/repos/kvirc/KVIrc/issues/1941/comments","events_url":"https://api.github.com/repos/kvirc/KVIrc/issues/1941/events","html_url":"https://github.com/kvirc/KVIrc/issues/1941","id":148954594,"number":1941,"title":"Tray icon state frozen","user":{"login":"wodim","id":1001553,"avatar_url":"https://avatars.githubusercontent.com/u/1001553?v=3","gravatar_id":"","url":"https://api.github.com/users/wodim","html_url":"https://github.com/wodim","followers_url":"https://api.github.com/users/wodim/followers","following_url":"https://api.github.com/users/wodim/following{/other_user}","gists_url":"https://api.github.com/users/wodim/gists{/gist_id}","starred_url":"https://api.github.com/users/wodim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wodim/subscriptions","organizations_url":"https://api.github.com/users/wodim/orgs","repos_url":"https://api.github.com/users/wodim/repos","events_url":"https://api.github.com/users/wodim/events{/privacy}","received_events_url":"https://api.github.com/users/wodim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kvirc/KVIrc/labels/Bug","name":"Bug","color":"D1001C"},{"url":"https://api.github.com/repos/kvirc/KVIrc/labels/Workaround%20posted","name":"Workaround posted","color":"BE7F00"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-04-17T14:02:24Z","updated_at":"2016-04-18T14:12:03Z","closed_at":"2016-04-18T14:12:03Z","body":"I wrote this script, to be used just after I connect to clear highlights from all windows:\r\n\r\n\tforeach (%w, $window.list(all, all)) {\r\n\t\twindow.highlight 0 %w\r\n\t}\r\n\r\nAnd when I use it the tray icon gets stuck forever in this state:\r\n\r\n![2016-04-17_16-01-37](https://cloud.githubusercontent.com/assets/1001553/14587589/b4c3a2f2-04b5-11e6-89fe-d4b610bea1a7.png)\r\n"}}