user/xf86-video-fbdev-rm: set timer at 0.05 of a second

This commit is contained in:
Antoine Martin 2023-05-30 10:26:29 -04:00
parent 6e69e6485b
commit 3acf6d19d8
Signed by: forge
GPG key ID: D62A472A4AA7D541
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-fbdev-rm
pkgver=0.5.0
pkgrel=1
pkgrel=2
pkgdesc="Video driver for framebuffer device with rM patches"
url="https://www.x.org"
arch="all"
@ -35,6 +35,6 @@ package() {
sha512sums="
c1217b943bbe3301b3c2a8649ed1004c3c67b02607bd56bbc14f6dfa05e7f0184332c81a6a19595514745501ed88526aee932e555779b7c3a8233646b0979448 xf86-video-fbdev-0.5.0.tar.bz2
a27497c957fdb25de8b7a66f2e6ad79a766214dc93dfca1ef9147154c2b874b4a725777bbb880ceebc077972851126cb708ae29bed2311ce8044938e53e08c78 epdc_auto-update-patch.patch
c211a2edf90b622d522a0513358431afa33c7b3b958b054221ff3a6e8ff72d1012b0141b073ea070f4bb2d2f9042d8e092434f14a91bea3bf8bf188c78c0bcb7 epdc_auto-update-patch.patch
19c6680d8e8b0ba3903fb76438b54f294a1715b93d50e1cb2ef95bb04770add5fdad1df4260ab7eb00bb26578baa79b7cfed3f7fa6cba70348611cc3797af3ee fix-build.patch
"

View file

@ -107,7 +107,7 @@ index f25ef72..46b3c8c 100644
+ xf86DrvMsg(pScrn->scrnIndex, X_ERROR,"update ioctl failed: %d\n", ret);
+ pbox++;
+ }
+ fPtr->timer = TimerSet(timer, 0, 100, FBDevEPDUpdateWork, pScreen);
+ fPtr->timer = TimerSet(timer, 0, 50, FBDevEPDUpdateWork, pScreen);
+ fPtr->timerActive = TRUE;
+ RegionDestroy(fPtr->region_queue);
+ fPtr->region_queue = NULL;