]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/xserver/xserver-kdrive/fbdev-not-fix.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / xserver / xserver-kdrive / fbdev-not-fix.patch
1 --- xserver/hw/kdrive/fbdev/fbdev.c~    2004-09-15 00:08:10.000000000 +0100
2 +++ xserver/hw/kdrive/fbdev/fbdev.c     2004-11-13 17:47:02.000000000 +0000
3 @@ -198,6 +198,11 @@
4         return FALSE;
5      }
6  
7 +    /* Re-get the "fixed" parameters since they might have changed */
8 +    k = ioctl (priv->fd, FBIOGET_FSCREENINFO, &priv->fix);
9 +    if (k < 0)
10 +        perror ("FBIOGET_FSCREENINFO");
11 +
12      /* Now get the new screeninfo */
13      ioctl (priv->fd, FBIOGET_VSCREENINFO, &priv->var);
14      depth = priv->var.bits_per_pixel;