forked from enlightenment/enlightenment
randr: add error print
This commit is contained in:
parent
e7e51c9c12
commit
d69848f63c
|
@ -1269,7 +1269,12 @@ _e_randr_crtc_from_outputs_set(E_Randr_Crtc *crtc)
|
||||||
{
|
{
|
||||||
if (!output->active) continue;
|
if (!output->active) continue;
|
||||||
/* TODO: If status != connected, active should not be set */
|
/* TODO: If status != connected, active should not be set */
|
||||||
if (output->status != ECORE_X_RANDR_CONNECTION_STATUS_CONNECTED) continue;
|
if (output->status != ECORE_X_RANDR_CONNECTION_STATUS_CONNECTED)
|
||||||
|
{
|
||||||
|
printf("RRR: Error, unconnected output which is active.");
|
||||||
|
printf(" output: '%s' lid: %i active: %i status: %i\n", output->na
|
||||||
|
continue;
|
||||||
|
}
|
||||||
printf("RRR: output: '%s' lid: %i active: %i status: %i\n", output->name, output->is_lid, output->active, output->status);
|
printf("RRR: output: '%s' lid: %i active: %i status: %i\n", output->name, output->is_lid, output->active, output->status);
|
||||||
/* TODO: Match all connected outputs, not only the first */
|
/* TODO: Match all connected outputs, not only the first */
|
||||||
crtc->mode = output->mode;
|
crtc->mode = output->mode;
|
||||||
|
|
Loading…
Reference in New Issue