GNOME Bugzilla – Bug 775996
Segfault when starting measurement on Wayland
Last modified: 2017-01-13 10:02:51 UTC
When starting a measurement by hitting "Start" gnome-battery-bench crashes on Wayland:
+ Trace 236969
Created attachment 341832 [details] [review] Only setup the 'stop-shortcut' when running on X11 When running on Wayland (i.e. non-X11) the attempt to setup the stop-shortcut, using X11 specific functions, will lead to a crash. Therefore this disables the setup of the shortcut on non-X11.
Review of attachment 341832 [details] [review]: I'd probably have put the check inside the functions, but this looks fine.
Attachment 341832 [details] pushed as b89dad6 - Only setup the 'stop-shortcut' when running on X11