diff options
author | herp <herp@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-04-03 23:53:23 +0000 |
---|---|---|
committer | herp <herp@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-04-03 23:53:23 +0000 |
commit | 514bf82446bde9898f8c5836567fbdce0707f497 (patch) | |
tree | c6e3ca1d2740d1b6d7b658d73702d3ca6eb47879 | |
parent | 7d7789328fabe72374bf90bf65856bbc9e4f540b (diff) | |
download | lcd4linux-514bf82446bde9898f8c5836567fbdce0707f497.tar.gz |
[lcd4linux @ 2000-04-03 23:53:23 by herp]
fixed a bug that caused pixel-errors ("fliegendreck") under high load
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@38 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r-- | XWindow.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: XWindow.c,v 1.15 2000/04/03 04:01:31 reinelt Exp $ +/* $Id: XWindow.c,v 1.16 2000/04/03 23:53:23 herp Exp $ * * X11 Driver for LCD4Linux * @@ -20,6 +20,9 @@ * * * $Log: XWindow.c,v $ + * Revision 1.16 2000/04/03 23:53:23 herp + * fixed a bug that caused pixel-errors ("fliegendreck") under high load + * * Revision 1.15 2000/04/03 04:01:31 reinelt * * if 'gap' is specified as -1, a gap of (pixelsize+pixelgap) is selected automatically @@ -69,6 +72,8 @@ /* + * Tue Apr 4 02:37:38 MET 2000 fixed a bug that caused pixelerrors under h/load + * Sun Apr 2 22:07:10 MET 2000 fixed a bug that occasionally caused Xlib error * Sun Apr 2 01:32:48 MET 2000 geometric correction (too many pixelgaps) * Sat Apr 1 22:18:04 MET 2000 colors in format \#RRGGBB in config-file * Fri Mar 31 01:42:11 MET 2000 semaphore bug fixed @@ -375,7 +380,7 @@ int x,y; y+=pixel+pgap; if (++igap==yres) { y+=rgap-pgap; igap=0; } } - if (dirty) XFlush(dp); + if (dirty) XSync(dp,False); release_lock(); return 0; } @@ -456,6 +461,7 @@ int dx,wx,wy; pos+=xpix; wpos=pos; } + XSync(dp,False); } static int async_update() { |