{"action":"created","issue":{"url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/8","labels_url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/8/comments","events_url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/8/events","html_url":"https://github.com/xmonad/xmonad-contrib/issues/8","id":110025568,"number":8,"title":"asks mouseFocused always returns false in XMonad.Actions.UpdatePointer","user":{"login":"kurnevsky","id":2943605,"avatar_url":"https://avatars.githubusercontent.com/u/2943605?v=3","gravatar_id":"","url":"https://api.github.com/users/kurnevsky","html_url":"https://github.com/kurnevsky","followers_url":"https://api.github.com/users/kurnevsky/followers","following_url":"https://api.github.com/users/kurnevsky/following{/other_user}","gists_url":"https://api.github.com/users/kurnevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/kurnevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurnevsky/subscriptions","organizations_url":"https://api.github.com/users/kurnevsky/orgs","repos_url":"https://api.github.com/users/kurnevsky/repos","events_url":"https://api.github.com/users/kurnevsky/events{/privacy}","received_events_url":"https://api.github.com/users/kurnevsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-06T14:52:21Z","updated_at":"2015-10-07T13:00:14Z","closed_at":null,"body":"Try to write logHook:\r\nmyLogHook = do\r\n  x <- asks mouseFocused\r\n  if x then undefined else return ()\r\n  updatePointer (Relative 0.5 0.5)\r\nWith this log hook xmonad never falls :)"},"comment":{"url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/comments/146189566","html_url":"https://github.com/xmonad/xmonad-contrib/issues/8#issuecomment-146189566","issue_url":"https://api.github.com/repos/xmonad/xmonad-contrib/issues/8","id":146189566,"user":{"login":"kurnevsky","id":2943605,"avatar_url":"https://avatars.githubusercontent.com/u/2943605?v=3","gravatar_id":"","url":"https://api.github.com/users/kurnevsky","html_url":"https://github.com/kurnevsky","followers_url":"https://api.github.com/users/kurnevsky/followers","following_url":"https://api.github.com/users/kurnevsky/following{/other_user}","gists_url":"https://api.github.com/users/kurnevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/kurnevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurnevsky/subscriptions","organizations_url":"https://api.github.com/users/kurnevsky/orgs","repos_url":"https://api.github.com/users/kurnevsky/repos","events_url":"https://api.github.com/users/kurnevsky/events{/privacy}","received_events_url":"https://api.github.com/users/kurnevsky/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T13:00:14Z","updated_at":"2015-10-07T13:00:14Z","body":"So, it happens because for some reason all my windows have _NET_WM_WINDOW_TYPE_DESKTOP property, and docksEventHook calls refresh on such windows."}}