forked from enlightenment/enlightenment
Use proper formatting for parens() *cough*
Remove white & fix other formatting. SVN revision: 49085
This commit is contained in:
parent
3f2657c5d5
commit
582c27ec2b
|
@ -18,7 +18,8 @@ static Eina_Hash *_e_popup_hash = NULL;
|
|||
EAPI int
|
||||
e_popup_init(void)
|
||||
{
|
||||
_e_popup_window_shape_handler = ecore_event_handler_add(ECORE_X_EVENT_WINDOW_SHAPE,
|
||||
_e_popup_window_shape_handler =
|
||||
ecore_event_handler_add(ECORE_X_EVENT_WINDOW_SHAPE,
|
||||
_e_popup_cb_window_shape, NULL);
|
||||
if (!_e_popup_hash) _e_popup_hash = eina_hash_string_superfast_new(NULL);
|
||||
return 1;
|
||||
|
@ -85,7 +86,7 @@ e_popup_show(E_Popup *pop)
|
|||
E_OBJECT_TYPE_CHECK(pop, E_POPUP_TYPE);
|
||||
if (pop->visible) return;
|
||||
pop->visible = 1;
|
||||
if (pop->shaped && !e_config->use_composite)
|
||||
if ((pop->shaped) && (!e_config->use_composite))
|
||||
{
|
||||
ecore_evas_move(pop->ecore_evas,
|
||||
pop->zone->container->manager->w,
|
||||
|
@ -319,13 +320,11 @@ _e_popup_idle_enterer(void *data)
|
|||
{
|
||||
E_Popup *pop;
|
||||
|
||||
pop = (E_Popup *)data;
|
||||
if (!(pop = data)) return 0;
|
||||
ecore_evas_move(pop->ecore_evas,
|
||||
pop->zone->x + pop->x,
|
||||
pop->zone->y + pop->y);
|
||||
|
||||
e_container_shape_show(pop->shape);
|
||||
|
||||
pop->idle_enterer = NULL;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue