From: Enlightenment S. <no-...@en...> - 2010-03-06 16:39:06
|
Log: hmm some sort of lockup? safety++ Author: raster Date: 2010-03-06 08:38:59 -0800 (Sat, 06 Mar 2010) New Revision: 46910 Modified: trunk/e/src/modules/comp/e_mod_comp.c Modified: trunk/e/src/modules/comp/e_mod_comp.c =================================================================== --- trunk/e/src/modules/comp/e_mod_comp.c 2010-03-06 14:21:17 UTC (rev 46909) +++ trunk/e/src/modules/comp/e_mod_comp.c 2010-03-06 16:38:59 UTC (rev 46910) @@ -796,7 +796,8 @@ if (cw->counter) { printf("nosync\n"); - ecore_x_e_comp_sync_cancel_send(cw->bd->client.win); + if (cw->bd) + ecore_x_e_comp_sync_cancel_send(cw->bd->client.win); } // ecore_x_window_hide(cw->win); // ecore_x_window_show(cw->win); @@ -857,7 +858,10 @@ } _e_mod_comp_win_render_queue(cw); if (cw->counter) - ecore_x_e_comp_sync_begin_send(cw->bd->client.win); + { + if (cw->bd) + ecore_x_e_comp_sync_begin_send(cw->bd->client.win); + } } } } @@ -996,7 +1000,8 @@ { eina_hash_del(borders, e_util_winid_str_get(cw->bd->client.win), cw); cw->bd = NULL; - cw->counter = 0; +// hmm - lockup? +// cw->counter = 0; } else if (obj == cw->pop) cw->pop = NULL; else if (obj == cw->menu) cw->menu = NULL; |