{"action":"opened","issue":{"url":"https://api.github.com/repos/ch11ng/exwm/issues/366","repository_url":"https://api.github.com/repos/ch11ng/exwm","labels_url":"https://api.github.com/repos/ch11ng/exwm/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/ch11ng/exwm/issues/366/comments","events_url":"https://api.github.com/repos/ch11ng/exwm/issues/366/events","html_url":"https://github.com/ch11ng/exwm/issues/366","id":297471952,"number":366,"title":"Cursor gets lost when `save-selected-window` is used","user":{"login":"Ambrevar","id":1489143,"avatar_url":"https://avatars0.githubusercontent.com/u/1489143?v=4","gravatar_id":"","url":"https://api.github.com/users/Ambrevar","html_url":"https://github.com/Ambrevar","followers_url":"https://api.github.com/users/Ambrevar/followers","following_url":"https://api.github.com/users/Ambrevar/following{/other_user}","gists_url":"https://api.github.com/users/Ambrevar/gists{/gist_id}","starred_url":"https://api.github.com/users/Ambrevar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ambrevar/subscriptions","organizations_url":"https://api.github.com/users/Ambrevar/orgs","repos_url":"https://api.github.com/users/Ambrevar/repos","events_url":"https://api.github.com/users/Ambrevar/events{/privacy}","received_events_url":"https://api.github.com/users/Ambrevar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-15T14:48:25Z","updated_at":"2018-02-15T14:48:25Z","closed_at":null,"author_association":"NONE","body":"Create the following and bind to, say, `s-f`:\r\n\r\n```elisp\r\n(defun foo ()\r\n  (interactive)\r\n  (switch-to-buffer \"*scratch*\")\r\n  (save-selected-window\r\n    (split-window-horizontally)\r\n    (other-window 1)))\r\n\r\n(exwm-input-set-key (kbd \"s-f\") 'foo)\r\n```\r\n\r\nMake sure \"*scratch*\" exists and switch to an EXWM buffer.\r\nPress `s-f`: cursor should be lost, no keypress should work.\r\nThe only way to recover from this is to click in some buffer.\r\n"}}
{"actor":{"display_login":"Ambrevar"}}