Files
poky/meta/packages/xorg-xserver/xserver-kdrive-glamo/fbdev-not-fix.patch
Richard Purdie 691f2eb576 Add xserver-kdrive-glamo from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4538 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-22 09:13:24 +00:00

15 lines
514 B
Diff

--- 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;