diff options
author | Christopher Michael <cp.michael@samsung.com> | 2019-02-25 13:44:47 -0500 |
---|---|---|
committer | Christopher Michael <cp.michael@samsung.com> | 2019-12-03 11:18:48 -0500 |
commit | 9717994d060ad525bff2e46d1e69337cee9dd995 (patch) | |
tree | d1ab66cf5c85ce3629f934e5b753b2b64531c9b1 | |
parent | 0525154d25eb70edb04f135b877dad3cd0cb8174 (diff) | |
download | enlightenment-devs/devilhorns/output.tar.gz |
wl-drm: Add call to set cloned or not cloned outputdevs/devilhorns/output
-rw-r--r-- | src/modules/wl_drm/e_mod_main.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c index a88c0b9c2f..8962cf65dc 100644 --- a/src/modules/wl_drm/e_mod_main.c +++ b/src/modules/wl_drm/e_mod_main.c @@ -686,7 +686,6 @@ _drm2_randr_apply(void) ecore_drm2_output_mode_set(outconf[i], mode, screenconf[i]->config.geom.x, screenconf[i]->config.geom.y); - ecore_drm2_output_rotation_set(outconf[i], orient); ecore_drm2_output_relative_to_set(outconf[i], screenconf[i]->config.relative.to); @@ -702,23 +701,26 @@ _drm2_randr_apply(void) ecore_drm2_output_enabled_set(outconf[i], screenconf[i]->config.enabled); + ecore_evas_rotation_with_resize_set(e_comp->ee, + screenconf[i]->config.rotation); + if ((screenconf[i]->config.relative.to) && (screenconf[i]->config.relative.mode == E_RANDR2_RELATIVE_CLONE)) { Ecore_Drm2_Output *clone; - clone = _drm2_output_find(outputs, - screenconf[i]->config.relative.to); - ecore_evas_output_clone_set(e_comp->ee, outconf[i], - clone); + clone = + _drm2_output_find(outputs, + screenconf[i]->config.relative.to); + fprintf(stderr, "WL_DRM: SET OUTPUT CLONED !!\n"); + ecore_evas_output_clone_set(e_comp->ee, outconf[i], clone); } else - ecore_evas_output_clone_set(e_comp->ee, outconf[i], - NULL); - /* ecore_drm2_output_cloned_set(dev, outconf[i], EINA_TRUE); */ - /* else */ - /* ecore_drm2_output_cloned_set(dev, outconf[i], EINA_FALSE); */ + { + fprintf(stderr, "WL_DRM: SET OUTPUT NOT CLONED !!\n"); + ecore_evas_output_clone_set(e_comp->ee, outconf[i], NULL); + } } else { @@ -738,7 +740,6 @@ _drm2_randr_apply(void) printf("RRR: set vsize: %ix%i\n", nw, nh); ecore_drm2_device_calibrate(dev, nw, nh); ecore_drm2_device_pointer_max_set(dev, nw, nh); - ecore_drm2_device_pointer_warp(dev, nw / 2, nh / 2); } static void |