From f5e19a7721a37e6373fa7710b739ca798d7f58cc Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 29 Aug 2017 15:17:36 -0400 Subject: [PATCH] wl-drm: Add screen position to debug output Small patch which adds the screen geometry to the output of drm2 randr apply so we can test mutli-output setups and know which screen is where. NB: No functional changes Signed-off-by: Chris Michael --- src/modules/wl_drm/e_mod_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c index 5e728962a..4c956da61 100644 --- a/src/modules/wl_drm/e_mod_main.c +++ b/src/modules/wl_drm/e_mod_main.c @@ -604,7 +604,8 @@ _drm2_randr_apply(void) ecore_drm2_output_enabled_set(output, s->config.enabled); printf("\tDRM2 RRR: Mode\n"); - printf("\t\tDRM2 RRR: Geom: %d %d\n", + printf("\t\tDRM2 RRR: Geom: %d %d %dx%d\n", + s->config.geom.x, s->config.geom.y, s->config.mode.w, s->config.mode.h); printf("\t\tDRM2 RRR: Refresh: %f\n", s->config.mode.refresh); printf("\t\tDRM2 RRR: Preferred: %d\n", s->config.mode.preferred);