summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-05-18 12:36:25 +0000
committerKoen Kooi <koen@openembedded.org>2007-05-18 12:36:25 +0000
commit0fb087429000007d0852d3b9b729c3f1090c67d8 (patch)
tree7d77cbddce41f8715b1188a27b67ce8ac0e98387 /packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch
parent938eaae0ad35de21d49d60b3ac125a0a89659b50 (diff)
xserver-kdrive-xomap: merge from poky
Diffstat (limited to 'packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch')
-rw-r--r--packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch b/packages/xorg-xserver/xserver-kdrive-xomap/fbdev-not-fix.patch
new file mode 100644
index 0000000000..f87e7cc2cd
--- /dev/null
+++ b/packages/xorg-xserver/xserver-kdrive-xomap/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;