formatting

SVN revision: 75788
This commit is contained in:
Mike Blumenkrantz 2012-08-28 12:41:17 +00:00
parent 8764eebc1d
commit 4f75c57c75
1 changed files with 258 additions and 254 deletions

View File

@ -279,6 +279,7 @@ _12_screen_info_edid_is_available(const E_Randr_Edid_Hash *hash)
}
return EINA_FALSE;
}
/*
* returns a mode within a given list of modes that is gemetrically identical.
* If none is found, NULL is returned.
@ -511,7 +512,6 @@ _crtc_change_event_cb(void *data __UNUSED__, int type, void *ev)
cce->geo.w,
cce->geo.h);
crtc_info = _12_screen_info_crtc_info_get(cce->crtc);
EINA_SAFETY_ON_NULL_RETURN_VAL(crtc_info, ECORE_CALLBACK_RENEW);
@ -741,18 +741,22 @@ e_randr_12_try_enable_output(E_Randr_Output_Info *output_info, Ecore_X_Randr_Out
usable_crtc->geometry.x = crtc_rel->geometry.x;
usable_crtc->geometry.y = 0;
break;
case ECORE_X_RANDR_OUTPUT_POLICY_RIGHT:
usable_crtc->geometry.x = (crtc_rel->geometry.x + crtc_rel->geometry.w);
usable_crtc->geometry.y = crtc_rel->geometry.y;
break;
case ECORE_X_RANDR_OUTPUT_POLICY_BELOW:
usable_crtc->geometry.x = crtc_rel->geometry.x;
usable_crtc->geometry.y = (crtc_rel->geometry.y + crtc_rel->geometry.h);
break;
case ECORE_X_RANDR_OUTPUT_POLICY_LEFT:
usable_crtc->geometry.y = crtc_rel->geometry.y;
usable_crtc->geometry.x = 0;
break;
default:
usable_crtc->geometry.y = 0;
usable_crtc->geometry.x = 0;
@ -805,7 +809,6 @@ e_randr_12_try_enable_output(E_Randr_Output_Info *output_info, Ecore_X_Randr_Out
default:
break;
}
}
}
@ -825,3 +828,4 @@ _12_event_listeners_remove(void)
ecore_poller_del(poller);
poller = NULL;
}