{"action":"opened","issue":{"url":"https://api.github.com/repos/ch11ng/exwm/issues/26","labels_url":"https://api.github.com/repos/ch11ng/exwm/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/ch11ng/exwm/issues/26/comments","events_url":"https://api.github.com/repos/ch11ng/exwm/issues/26/events","html_url":"https://github.com/ch11ng/exwm/issues/26","id":101113873,"number":26,"title":"[XELB] Sync Timeout","user":{"login":"rrix","id":138102,"avatar_url":"https://avatars.githubusercontent.com/u/138102?v=3","gravatar_id":"","url":"https://api.github.com/users/rrix","html_url":"https://github.com/rrix","followers_url":"https://api.github.com/users/rrix/followers","following_url":"https://api.github.com/users/rrix/following{/other_user}","gists_url":"https://api.github.com/users/rrix/gists{/gist_id}","starred_url":"https://api.github.com/users/rrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rrix/subscriptions","organizations_url":"https://api.github.com/users/rrix/orgs","repos_url":"https://api.github.com/users/rrix/repos","events_url":"https://api.github.com/users/rrix/events{/privacy}","received_events_url":"https://api.github.com/users/rrix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-14T22:20:50Z","updated_at":"2015-08-14T22:20:50Z","closed_at":null,"body":"When starting up, I get a sync timeout error. Manually syncing with debug-on-error gives me:\r\n\r\n```\r\nDebugger entered--Lisp error: (error \"[XELB] Sync timeout\")\r\n  signal(error (\"[XELB] Sync timeout\"))\r\n  error(\"[XELB] Sync timeout\")\r\n  (progn (error \"[XELB] Sync timeout\"))\r\n  (if (eq -with-timeout-value- (quote timeout)) (progn (error \"[XELB] Sync timeout\")) -with-timeout-value-)\r\n  (let ((-with-timeout-value- (catch (quote timeout) (let* ((-with-timeout-timer- (run-with-timer xcb:connection-timeout nil ...)) (with-timeout-timers (cons -with-timeout-timer- with-timeout-timers))) (unwind-protect (progn (while ... ...)) (cancel-timer -with-timeout-timer-)))))) (if (eq -with-timeout-value- (quote timeout)) (progn (error \"[XELB] Sync timeout\")) -with-timeout-value-))\r\n  (let ((sequence (xcb:-cache-request obj (make-instance (quote xcb:GetInputFocus)))) (process (slot-value obj (quote process)))) (xcb:flush obj) (let ((-with-timeout-value- (catch (quote timeout) (let* ((-with-timeout-timer- ...) (with-timeout-timers ...)) (unwind-protect (progn ...) (cancel-timer -with-timeout-timer-)))))) (if (eq -with-timeout-value- (quote timeout)) (progn (error \"[XELB] Sync timeout\")) -with-timeout-value-)))\r\n  (closure (t) (obj) \"Force sync with X server.\\n\\nSync by sending a GetInputFocus request and waiting until it's processed.\" (let ((sequence (xcb:-cache-request obj (make-instance (quote xcb:GetInputFocus)))) (process (slot-value obj (quote process)))) (xcb:flush obj) (let ((-with-timeout-value- (catch (quote timeout) (let* (... ...) (unwind-protect ... ...))))) (if (eq -with-timeout-value- (quote timeout)) (progn (error \"[XELB] Sync timeout\")) -with-timeout-value-))))([object xcb:connection \"xcb:connection\" #<process XELB> t \":0\" [object xcb:auth-info \"xcb:auth-info\" \"\" \"\"] \"/tmp/.X11-unix/X0\" nil [object xcb:Setup \"xcb:Setup\" t 1 1 11 0 290 11702000 8388608 2097151 256 14 65535 1 7 0 0 32 32 8 255 4 \"Fedora Project\" (name vendor type xcb:char size (xcb:-fieldref (quote vendor-len))) ([object xcb:FORMAT \"xcb:FORMAT\" t 0 0 1 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 4 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 8 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 15 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 16 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 24 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 32 5]) (name pixmap-formats type xcb:FORMAT size (xcb:-fieldref (quote pixmap-formats-len))) ([object xcb:SCREEN \"xcb:SCREEN\" t 14024704 2228224 4294901760 255 3224567808 250 1600 900 423 238 1 2097153 0 0 1 0 nil (name allowed-depths type xcb:DEPTH size (xcb:-fieldref (quote allowed-depths-len)))]) (name roots type xcb:SCREEN size (xcb:-fieldref (quote roots-len)))] [] [0 0 136 0 32 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] nil nil (1 nil) nil nil nil nil nil nil 5 136 0 0 nil])\r\n  apply((closure (t) (obj) \"Force sync with X server.\\n\\nSync by sending a GetInputFocus request and waiting until it's processed.\" (let ((sequence (xcb:-cache-request obj (make-instance (quote xcb:GetInputFocus)))) (process (slot-value obj (quote process)))) (xcb:flush obj) (let ((-with-timeout-value- (catch (quote timeout) (let* (... ...) (unwind-protect ... ...))))) (if (eq -with-timeout-value- (quote timeout)) (progn (error \"[XELB] Sync timeout\")) -with-timeout-value-)))) [object xcb:connection \"xcb:connection\" #<process XELB> t \":0\" [object xcb:auth-info \"xcb:auth-info\" \"\" \"\"] \"/tmp/.X11-unix/X0\" nil [object xcb:Setup \"xcb:Setup\" t 1 1 11 0 290 11702000 8388608 2097151 256 14 65535 1 7 0 0 32 32 8 255 4 \"Fedora Project\" (name vendor type xcb:char size (xcb:-fieldref (quote vendor-len))) ([object xcb:FORMAT \"xcb:FORMAT\" t 0 0 1 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 4 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 8 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 15 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 16 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 24 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 32 5]) (name pixmap-formats type xcb:FORMAT size (xcb:-fieldref (quote pixmap-formats-len))) ([object xcb:SCREEN \"xcb:SCREEN\" t 14024704 2228224 4294901760 255 3224567808 250 1600 900 423 238 1 2097153 0 0 1 0 nil (name allowed-depths type xcb:DEPTH size (xcb:-fieldref (quote allowed-depths-len)))]) (name roots type xcb:SCREEN size (xcb:-fieldref (quote roots-len)))] [] [0 0 136 0 32 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] nil nil (1 nil) nil nil nil nil nil nil 5 136 0 0 nil])\r\n  xcb:aux:sync([object xcb:connection \"xcb:connection\" #<process XELB> t \":0\" [object xcb:auth-info \"xcb:auth-info\" \"\" \"\"] \"/tmp/.X11-unix/X0\" nil [object xcb:Setup \"xcb:Setup\" t 1 1 11 0 290 11702000 8388608 2097151 256 14 65535 1 7 0 0 32 32 8 255 4 \"Fedora Project\" (name vendor type xcb:char size (xcb:-fieldref (quote vendor-len))) ([object xcb:FORMAT \"xcb:FORMAT\" t 0 0 1 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 4 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 8 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 15 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 16 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 24 5] [object xcb:FORMAT \"xcb:FORMAT\" t 0 0 32 5]) (name pixmap-formats type xcb:FORMAT size (xcb:-fieldref (quote pixmap-formats-len))) ([object xcb:SCREEN \"xcb:SCREEN\" t 14024704 2228224 4294901760 255 3224567808 250 1600 900 423 238 1 2097153 0 0 1 0 nil (name allowed-depths type xcb:DEPTH size (xcb:-fieldref (quote allowed-depths-len)))]) (name roots type xcb:SCREEN size (xcb:-fieldref (quote roots-len)))] [] [0 0 136 0 32 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] nil nil (1 nil) nil nil nil nil nil nil 5 136 0 0 nil])\r\n  eval((xcb:aux:sync exwm--connection) t)\r\n  eval-expression((xcb:aux:sync exwm--connection) nil)\r\n  call-interactively(eval-expression nil nil)\r\n  command-execute(eval-expression)\r\n```\r\n\r\nexwm--connection is sort of like:\r\n```\r\n[object xcb:connection \"xcb:connection\" #<process XELB> t \":0\" [object xcb:auth-info \"xcb:auth-info\" \"\" \"\"] \"/tmp/.X11-unix/X0\" nil [object xcb:Setup \"xcb:Setup\" t 1 1 11 0 290 11702000 8388608 2097151 ...] [] [0 0 136 0 32 5 0 0 0 0 0 0 ...] ...]\r\n```"}}