Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ddc_open_display(): always return DDCRC_ALREADY_OPEN if display open …
…in current thread Previously asserted failure if display already locked by thread but DREF_OPEN not set in the Display_Ref. However, this can occur if the client has created a new Display_Ref. Addresses the PowerDevil crash reported in issues #228 and #205. However, this fix will probably cause failure within PowerDevil itself, which never calls ddca_close_display(), but instead calls ddca_open_display() with a new Display_Ref after return from suspend.
- Loading branch information