summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-12-10 10:43:59 -0500
committerChris Michael <cp.michael@samsung.com>2014-12-10 12:01:59 -0500
commit61d03472a417d2eb42f8713264d6b7553df8b7c5 (patch)
tree77667fce31e33f042d0fa32e9d34d5d7f7ab5733 /src/modules
parentea417ef9de7087747e7d2e6ee18eb875984566a7 (diff)
ecore-evas-drm: Create inputs before we create outputs
Summary: Call function to create drm input devices Before we create outputs. This is done so that when outputs Do get created, it will update the input's known size of output for device coordinate transformation @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index 776939e91f..f69d5b307a 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -494,17 +494,17 @@ _ecore_evas_drm_init(const char *device)
494 goto sprite_err; 494 goto sprite_err;
495 } 495 }
496 496
497 /* try to create outputs */ 497 /* try to create inputs */
498 if (!ecore_drm_outputs_create(dev)) 498 if (!ecore_drm_inputs_create(dev))
499 { 499 {
500 ERR("Could not create outputs: %m"); 500 ERR("Could not create inputs: %m");
501 goto output_err; 501 goto output_err;
502 } 502 }
503 503
504 /* try to create inputs */ 504 /* try to create outputs */
505 if (!ecore_drm_inputs_create(dev)) 505 if (!ecore_drm_outputs_create(dev))
506 { 506 {
507 ERR("Could not create inputs: %m"); 507 ERR("Could not create outputs: %m");
508 goto output_err; 508 goto output_err;
509 } 509 }
510 510