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
devs/bu5hm4n/pointer-fix
Carsten Haitzler 2 years ago
parent 45938e3b48
commit 02ab631524
  1. 1
      src/bin/e_comp_x_randr.c

@ -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();

Loading…
Cancel
Save