HomePhabricator

elc_hoversel: Fix crash when no sd->last_location

Authored by devilhorns on Apr 27 2019, 11:21 AM.

Description

elc_hoversel: Fix crash when no sd->last_location

As we cannot pass NULL to strcmp (crashes when we do), we should check
for a valid sd->last_location here in order to avoid crashing. This
was detected in Enlightenment Screen Settings dialog by selecting a
monitor in the hoversel drop down.

@fix

Details

Committed
devilhornsApr 27 2019, 11:23 AM
Parents
rEFL5d512229cbbf: eio: do not fail when the future has been cancelled properly.
Branches
Unknown
Tags
Unknown