{"action":"opened","issue":{"url":"https://api.github.com/repos/xmonad/xmonad/issues/150","repository_url":"https://api.github.com/repos/xmonad/xmonad","labels_url":"https://api.github.com/repos/xmonad/xmonad/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/xmonad/xmonad/issues/150/comments","events_url":"https://api.github.com/repos/xmonad/xmonad/issues/150/events","html_url":"https://github.com/xmonad/xmonad/issues/150","id":280865803,"number":150,"title":"st crashing immediately (Error in function getWindowAttributes)","user":{"login":"annacrombie","id":10382483,"avatar_url":"https://avatars3.githubusercontent.com/u/10382483?v=4","gravatar_id":"","url":"https://api.github.com/users/annacrombie","html_url":"https://github.com/annacrombie","followers_url":"https://api.github.com/users/annacrombie/followers","following_url":"https://api.github.com/users/annacrombie/following{/other_user}","gists_url":"https://api.github.com/users/annacrombie/gists{/gist_id}","starred_url":"https://api.github.com/users/annacrombie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annacrombie/subscriptions","organizations_url":"https://api.github.com/users/annacrombie/orgs","repos_url":"https://api.github.com/users/annacrombie/repos","events_url":"https://api.github.com/users/annacrombie/events{/privacy}","received_events_url":"https://api.github.com/users/annacrombie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-11T01:02:55Z","updated_at":"2017-12-11T01:02:55Z","closed_at":null,"author_association":"NONE","body":"### Problem Description\r\n\r\nI'm running xmonad 0.13, with a fresh gentoo, and I have no other wm/desktop environment installed.\r\n\r\nRecently, when I open st strange behavior occurs.  Usually the window opens for a second, then exits.  Somtimes it will open and show my prompt but if I enter any keys into the program it will exit.  Other times it will just be a black screen.  The only way I can get a usable terminal is to hold down the shortcut for terminal and create about 20 windows.  Most just vanish immediately and others exhibit the other behaviors mentioned, however a few will be usable and normal and I don't experience any other problems with these windows.  I haven't noticed this problem with any other programs.\r\n\r\nI always start xmonad with `startx` and when I switch back to the virtual console using ctrl-alt-f1, there are lots of errors, all more or less this:\r\n```\r\nuser error (Error in function getWindowAttributes)\r\nX Error of failed request: BadWindow (invalid Window parameter)\r\n  Major opcode of failed request: 25 (X_SendEvent)\r\n  Resource id of failed request: 0x1e00007\r\n  Serial number of failed request: 700\r\n  Current serial number in output stream: 700\r\n```\r\n\r\n### Configuration File\r\n\r\nPlease include the smallest configuration file that reproduces the\r\nproblem you are experiencing:\r\n\r\n```haskell\r\nimport XMonad\r\nimport XMonad.Hooks.DynamicLog\r\nimport XMonad.Hooks.ManageDocks\r\n\r\nsetWallpaper = spawn \"/home/lattis/.fehbg\"\r\nxmobar'      = spawn \"/home/lattis/.cabal/bin/xmobar\"\r\n\r\nmain = do\r\n  setWallpaper\r\n  xmproc <- xmobar'\r\n  xmonad $ docks defaultConfig\r\n      { manageHook = manageDocks <+> manageHook defaultConfig\r\n      , layoutHook = avoidStruts  $  layoutHook defaultConfig\r\n      , modMask = mod4Mask\r\n      , terminal = \"st\"\r\n      }\r\n```\r\n\r\n### Checklist\r\n\r\n  - [X] I've read [CONTRIBUTING.md](https://github.com/xmonad/xmonad/blob/master/CONTRIBUTING.md)\r\n\r\n  - [ ] I tested my configuration with [xmonad-testing](https://github.com/xmonad/xmonad-testing)"}}
{"actor":{"display_login":"annacrombie"}}