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:
parent
45938e3b48
commit
02ab631524
|
@ -732,6 +732,7 @@ e_comp_x_randr_create(void)
|
||||||
|
|
||||||
printf("RRR: ................. info get!\n");
|
printf("RRR: ................. info get!\n");
|
||||||
// do this to force xrandr to update its content
|
// 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_config_timestamp_get(root);
|
||||||
ecore_x_randr_screen_size_range_get(root, NULL, NULL, NULL, NULL);
|
ecore_x_randr_screen_size_range_get(root, NULL, NULL, NULL, NULL);
|
||||||
ecore_x_sync();
|
ecore_x_sync();
|
||||||
|
|
Loading…
Reference in New Issue