Skip to content
Commit 70cc6e74 authored by Richard Hughes's avatar Richard Hughes Committed by Bastien Nocera
Browse files

power: Avoid crasher if XRandR calls fail on startup

In between a start()/stop() pairing, if gnome_rr_screen_new()
somehow returns NULL, exit the start() function earlier, before
anything is set up. This helps avoid a crash where the x11_screen
could be used by just-set-up signals.

https://bugzilla.gnome.org/show_bug.cgi?id=672245
parent 24777bce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment