https://bugs.freedesktop.org/show_bug.cgi?id=95337

--- Comment #1 from Olivier Fourdan <[email protected]> ---
Created attachment 123617
  --> https://bugs.freedesktop.org/attachment.cgi?id=123617&action=edit
Possible fix

(In reply to Mike Blumenkrantz from comment #0)
> [...]
> ConnectionInfo is NULL, as InitInput is called before the connection data is
> initialized, meaning that anything trying to access it before this point
> will trigger a crash.

Huh...

I am not sure, why we'd need to call the wl_display_roundtrip() in InitInput()?

This and initializing xwl_screen->expecting_event to 0 will be done again later
again in xwl_screen_init() where it seems more appropriate, and events can
safely be queued up meanwhile.

Does this patch help? I haven't detected any ill effect in my light initial
testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to