randr - add some more debug info to log

This commit is contained in:
Carsten Haitzler 2023-02-16 08:25:41 +00:00
parent 9542815c2c
commit 13454ff0bb
1 changed files with 4 additions and 1 deletions

View File

@ -548,12 +548,15 @@ _e_comp_xrandr_cmd(void)
ecore_x_randr_output_crtc_get(root, ecore_x_randr_output_crtc_get(root,
outputs[i]); outputs[i]);
info = NULL; info = NULL;
printf("RRR: crtc slot empty: %i\n", i); printf("RRR: crtc slot empty: %i, crtc=%i, output=%i\n", i, crtc, outputs[i]);
if (crtc) if (crtc)
info = ecore_x_randr_crtc_info_get(root, info = ecore_x_randr_crtc_info_get(root,
crtc); crtc);
printf("RRR: crtc info = %p\n", info);
if (info) if (info)
{ {
printf("RRR: output exists=%i rot exists=%i\n",
_output_exists(out, info), _rotation_exists(s->config.rotation, info));
if (_output_exists(out, info) && if (_output_exists(out, info) &&
_rotation_exists(s->config.rotation, _rotation_exists(s->config.rotation,
info)) info))