diff options
author | Raymond Danks <raymond@edanks.com> | 2006-07-24 19:50:17 +0000 |
---|---|---|
committer | Raymond Danks <raymond@edanks.com> | 2006-07-24 19:50:17 +0000 |
commit | 066238ebf3b33dbd0cae5340e3cdf74af6f3baf2 (patch) | |
tree | 8afb9ac6647e5bb2d071fbc8ed8dc5dd950a8069 /packages/xorg-xserver/xserver-kdrive-omap/fbdev-not-fix.patch | |
parent | dddc57321e4ef7b7b8d45855dda1fefb888f071c (diff) | |
parent | dd0c887b669ed5f2fdfa21118f4b32d096e92816 (diff) |
merge of 479497b7433f60ba6841fc3a8ab4e8d56a20dc5d
and cd606927120111af896127f6b1483d9fbe915358
Diffstat (limited to 'packages/xorg-xserver/xserver-kdrive-omap/fbdev-not-fix.patch')
-rw-r--r-- | packages/xorg-xserver/xserver-kdrive-omap/fbdev-not-fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/xorg-xserver/xserver-kdrive-omap/fbdev-not-fix.patch b/packages/xorg-xserver/xserver-kdrive-omap/fbdev-not-fix.patch new file mode 100644 index 0000000000..f87e7cc2cd --- /dev/null +++ b/packages/xorg-xserver/xserver-kdrive-omap/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; |