summaryrefslogtreecommitdiff
path: root/xserver/xserver-kdrive
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/xserver-kdrive')
-rw-r--r--xserver/xserver-kdrive/fbdev-not-fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/xserver/xserver-kdrive/fbdev-not-fix.patch b/xserver/xserver-kdrive/fbdev-not-fix.patch
index e69de29bb2..f87e7cc2cd 100644
--- a/xserver/xserver-kdrive/fbdev-not-fix.patch
+++ b/xserver/xserver-kdrive/fbdev-not-fix.patch
@@ -0,0 +1,14 @@
+--- xserver/hw/kdrive/fbdev/fbdev.c~ 2004-09-15 00:08:10.000000000 +0100
++++ xserver/hw/kdrive/fbdev/fbdev.c 2004-11-13 17:47:02.000000000 +0000
+@@ -198,6 +198,11 @@
+ return FALSE;
+ }
+
++ /* Re-get the "fixed" parameters since they might have changed */
++ k = ioctl (priv->fd, FBIOGET_FSCREENINFO, &priv->fix);
++ if (k < 0)
++ perror ("FBIOGET_FSCREENINFO");
++
+ /* Now get the new screeninfo */
+ ioctl (priv->fd, FBIOGET_VSCREENINFO, &priv->var);
+ depth = priv->var.bits_per_pixel;