wayland: Better error on eglGetDisplay() failure
authorBenjamin Otte <otte@redhat.com>
Tue, 24 Aug 2021 19:27:49 +0000 (21:27 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 24 Sep 2021 11:54:12 +0000 (13:54 +0200)
commit345b06bbbf822ff0866b6c4fd99c4c28d4ce1f9f
treec8b81bcd22629290cc8ff690373ca8e8185f89cd
parentcbd3d5a4aa47d4772744ff38a37071db7bfc339e
wayland: Better error on eglGetDisplay() failure

Goals:

1. Provide as much information as possible in the error message, so
   users can try to fix their system themselves.
2. Try to formulate the error message in a way that explains that this
   is not something GTK can fix, but a lower layer problem.

Related: #4193
gdk/wayland/gdkglcontext-wayland.c