GNOME Bugzilla – Bug 728672
details: Don't crash on Wayland
Last modified: 2014-04-24 22:38:56 UTC
We were just assuming that there is an X server around. This may not be the case anymore, so check, and deal with running under Wayland. For now, we just say 'Wayland'. We should do better here, eventually.
Created attachment 274830 [details] [review] details: Don't crash on Wayland
Created attachment 274832 [details] [review] followup cleanup
Created attachment 274833 [details] [review] Don't parse Xorg.log
Review of attachment 274833 [details] [review]: Looks fine
Review of attachment 274832 [details] [review]: ++
Review of attachment 274830 [details] [review]: fine
Attachment 274830 [details] pushed as 71a8d89 - details: Don't crash on Wayland Attachment 274833 [details] pushed as c273c84 - Don't parse Xorg.log
Attachment 274830 [details] contains #include <gdk/gdkwayland.h>, which is not available when wayland is disabled. This causes the following build problem on FreeBSD: cc-info-panel.c:37:10: fatal error: 'gdk/gdkwayland.h' file not found
Created attachment 275060 [details] [review] info: Fix build when Wayland support isn't available
(In reply to comment #9) > Created an attachment (id=275060) [details] [review] > info: Fix build when Wayland support isn't available This patch works on FreeBSD.
Attachment 275060 [details] pushed as 6908c0d - info: Fix build when Wayland support isn't available