randr - use new refrsh api to work around server-side problems

in some situations the xserver randr driver doesn't refresh edid's on
its own. it should, but doesn't. for example - optmus setups. this
seems to fix it. works around that.

@fix
This commit is contained in:
Carsten Haitzler 2021-09-03 09:10:17 +01:00
parent 45938e3b48
commit 02ab631524
1 changed files with 1 additions and 0 deletions

View File

@ -732,6 +732,7 @@ e_comp_x_randr_create(void)
printf("RRR: ................. info get!\n");
// do this to force xrandr to update its content
ecore_x_randr_screen_refresh(root);
ecore_x_randr_config_timestamp_get(root);
ecore_x_randr_screen_size_range_get(root, NULL, NULL, NULL, NULL);
ecore_x_sync();