devilhorns pushed a commit to branch master.
commit f80097f0cb1989df442d146701fa50cffd36305b
Author: Chris Michael <[email protected]>
Date: Sat May 4 12:26:25 2013 +0100
Check for valid wayland compositor and display before dispatching.
Signed-off-by: Chris Michael <[email protected]>
---
src/bin/e_comp_wl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index ac6a329..ee250bc 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -405,7 +405,7 @@ _e_comp_wl_cb_read(void *data EINA_UNUSED, Ecore_Fd_Handler
*hdl EINA_UNUSED)
static Eina_Bool
_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 */
wl_display_flush_clients(_e_wl_comp->wl.display);
--
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2