raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=02ab631524665d031d99db35a529344f297760db

commit 02ab631524665d031d99db35a529344f297760db
Author: Carsten Haitzler <ras...@rasterman.com>
Date:   Fri Sep 3 09:10:17 2021 +0100

    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
---
 src/bin/e_comp_x_randr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_comp_x_randr.c b/src/bin/e_comp_x_randr.c
index 5cbf91245..32619db6a 100644
--- a/src/bin/e_comp_x_randr.c
+++ b/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();

-- 


Reply via email to