{"action":"created","issue":{"url":"https://api.github.com/repos/naelstrof/maim/issues/99","repository_url":"https://api.github.com/repos/naelstrof/maim","labels_url":"https://api.github.com/repos/naelstrof/maim/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/naelstrof/maim/issues/99/comments","events_url":"https://api.github.com/repos/naelstrof/maim/issues/99/events","html_url":"https://github.com/naelstrof/maim/issues/99","id":224119134,"number":99,"title":"When compton is running, `maim -s` fails.","user":{"login":"crocket","id":748856,"avatar_url":"https://avatars0.githubusercontent.com/u/748856?v=3","gravatar_id":"","url":"https://api.github.com/users/crocket","html_url":"https://github.com/crocket","followers_url":"https://api.github.com/users/crocket/followers","following_url":"https://api.github.com/users/crocket/following{/other_user}","gists_url":"https://api.github.com/users/crocket/gists{/gist_id}","starred_url":"https://api.github.com/users/crocket/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crocket/subscriptions","organizations_url":"https://api.github.com/users/crocket/orgs","repos_url":"https://api.github.com/users/crocket/repos","events_url":"https://api.github.com/users/crocket/events{/privacy}","received_events_url":"https://api.github.com/users/crocket/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-25T12:22:36Z","updated_at":"2017-04-26T03:10:02Z","closed_at":null,"body":"compton : https://github.com/chjj/compton/commit/b7f43ee67a1d2d08239a2eb67b7f50fe51a592a8\r\nmaim : 4.4.62\r\nOperating System : Gentoo Linux\r\nDesktop Environment : Compton + XMonad + XMobar + Stalonetray\r\n\r\n~/.compton.conf\r\n\r\n```\r\ndetect-client-leader = true;\r\ndetect-transient = true;\r\nshadow = true;\r\nshadow-radius = 1;\r\nshadow-offset-x = 1;\r\nshadow-offset-y = 1;\r\nshadow-opacity = 0.3;\r\nfading = true;\r\nfade-delta = 10;\r\nfade-in-step = 0.06;\r\nfade-out-step = 0.08;\r\nvsync = \"none\";\r\nbackend = \"xrender\";\r\nxinerama-shadow-drop = true;\r\n```\r\n\r\n```\r\n$ maim -s ok.png\r\nMaim encountered an error:\r\nOpenGL threw an error: INVALID_ENUM\r\n```\r\n\r\nThe choice of backend doesn't change the outcome of `maim -s`.\r\nI tried both `xrender` backend and `glx` backend.\r\n\r\n`maim -s -o` works around the issue, but if I grab a region with `maim -s -o`, the captured image is too dark to be useful for anything. Look at the following image.\r\n\r\n![ok](https://cloud.githubusercontent.com/assets/748856/25385836/3734fbc6-2a00-11e7-9ae3-9f6e625820b0.png)\r\n\r\nGrabbing a non-root window with `maim -s -o` doesn't result in darkening."},"comment":{"url":"https://api.github.com/repos/naelstrof/maim/issues/comments/297225153","html_url":"https://github.com/naelstrof/maim/issues/99#issuecomment-297225153","issue_url":"https://api.github.com/repos/naelstrof/maim/issues/99","id":297225153,"user":{"login":"naelstrof","id":1131571,"avatar_url":"https://avatars2.githubusercontent.com/u/1131571?v=3","gravatar_id":"","url":"https://api.github.com/users/naelstrof","html_url":"https://github.com/naelstrof","followers_url":"https://api.github.com/users/naelstrof/followers","following_url":"https://api.github.com/users/naelstrof/following{/other_user}","gists_url":"https://api.github.com/users/naelstrof/gists{/gist_id}","starred_url":"https://api.github.com/users/naelstrof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naelstrof/subscriptions","organizations_url":"https://api.github.com/users/naelstrof/orgs","repos_url":"https://api.github.com/users/naelstrof/repos","events_url":"https://api.github.com/users/naelstrof/events{/privacy}","received_events_url":"https://api.github.com/users/naelstrof/received_events","type":"User","site_admin":false},"created_at":"2017-04-26T03:10:02Z","updated_at":"2017-04-26T03:10:02Z","body":"As for the OpenGL issue, what is your graphics adapter, and graphics drivers?"}}
{"actor":{"display_login":"naelstrof"}}