{"action":"created","issue":{"url":"https://api.github.com/repos/go-gl/glfw/issues/161","repository_url":"https://api.github.com/repos/go-gl/glfw","labels_url":"https://api.github.com/repos/go-gl/glfw/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/go-gl/glfw/issues/161/comments","events_url":"https://api.github.com/repos/go-gl/glfw/issues/161/events","html_url":"https://github.com/go-gl/glfw/issues/161","id":157684584,"number":161,"title":"Long pauses when switching window focus and 100% X CPU usage","user":{"login":"dv343","id":1692175,"avatar_url":"https://avatars.githubusercontent.com/u/1692175?v=3","gravatar_id":"","url":"https://api.github.com/users/dv343","html_url":"https://github.com/dv343","followers_url":"https://api.github.com/users/dv343/followers","following_url":"https://api.github.com/users/dv343/following{/other_user}","gists_url":"https://api.github.com/users/dv343/gists{/gist_id}","starred_url":"https://api.github.com/users/dv343/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dv343/subscriptions","organizations_url":"https://api.github.com/users/dv343/orgs","repos_url":"https://api.github.com/users/dv343/repos","events_url":"https://api.github.com/users/dv343/events{/privacy}","received_events_url":"https://api.github.com/users/dv343/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-31T14:24:03Z","updated_at":"2016-06-14T05:50:23Z","closed_at":null,"body":"Hi,\r\n\r\nI'm having a problem while using the library. However, I'm not sure if it is this library fault. The problem occurs in your example program (Readme.md - Usage) when running it on Ubuntu (14.04 and 16.04 have the same issue). The program runs normally fine, but, when I switch the focus to another program a long pause (~1-2 seconds) over all applications happens. I use \"top\" to watch the CPU usage and I notice that when I switch the focus the X system uses the 100% of the CPU.\r\n\r\nThe problem occurs even when I switch between different applications, even if none of these applications are the program (with the program running in the background). \r\n\r\nThe computer isn't bad at all: Intel i5 2500K, Nvidia GTX 780 with Nvidia drivers...\r\n\r\nI tried to run a C program that uses GLFW (3.1.2) and it work without problems.\r\n\r\nI checked that this problem is not a GC pause too.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/go-gl/glfw/issues/comments/225786054","html_url":"https://github.com/go-gl/glfw/issues/161#issuecomment-225786054","issue_url":"https://api.github.com/repos/go-gl/glfw/issues/161","id":225786054,"user":{"login":"tapir","id":223984,"avatar_url":"https://avatars.githubusercontent.com/u/223984?v=3","gravatar_id":"","url":"https://api.github.com/users/tapir","html_url":"https://github.com/tapir","followers_url":"https://api.github.com/users/tapir/followers","following_url":"https://api.github.com/users/tapir/following{/other_user}","gists_url":"https://api.github.com/users/tapir/gists{/gist_id}","starred_url":"https://api.github.com/users/tapir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tapir/subscriptions","organizations_url":"https://api.github.com/users/tapir/orgs","repos_url":"https://api.github.com/users/tapir/repos","events_url":"https://api.github.com/users/tapir/events{/privacy}","received_events_url":"https://api.github.com/users/tapir/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T05:50:23Z","updated_at":"2016-06-14T05:50:23Z","body":"Hopefully EGL should be now disabled. Can you try again?"}}
{"actor":{"display_login":"tapir"}}