diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2021-09-03 09:10:17 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2021-09-03 09:10:17 +0100 |
commit | 02ab631524665d031d99db35a529344f297760db (patch) | |
tree | 8d4c0ce171dca1036b23ad24bc9276ba67d0e5f5 | |
parent | 45938e3b486900c098cf32eb359a2c5f8506eea4 (diff) | |
download | enlightenment-02ab631524665d031d99db35a529344f297760db.tar.gz |
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
-rw-r--r-- | src/bin/e_comp_x_randr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_comp_x_randr.c b/src/bin/e_comp_x_randr.c index 5cbf912457..32619db6a7 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(); |