forked from enlightenment/enlightenment
Check for valid wayland compositor and display before dispatching.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
parent
046aecdf06
commit
f80097f0cb
|
@ -405,7 +405,7 @@ _e_comp_wl_cb_read(void *data EINA_UNUSED, Ecore_Fd_Handler *hdl EINA_UNUSED)
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_e_comp_wl_cb_idle(void *data EINA_UNUSED)
|
_e_comp_wl_cb_idle(void *data EINA_UNUSED)
|
||||||
{
|
{
|
||||||
if (_e_wl_comp->wl.display)
|
if ((_e_wl_comp) && (_e_wl_comp->wl.display))
|
||||||
{
|
{
|
||||||
/* flush any clients before we idle */
|
/* flush any clients before we idle */
|
||||||
wl_display_flush_clients(_e_wl_comp->wl.display);
|
wl_display_flush_clients(_e_wl_comp->wl.display);
|
||||||
|
|
Loading…
Reference in New Issue