xorg-x11-server/fbdevhw.diff

13 lines
584 B
Diff

--- hw/xfree86/fbdevhw/fbdevhw.c.orig 2007-09-03 20:48:47.000000000 +0000
+++ hw/xfree86/fbdevhw/fbdevhw.c 2007-09-03 20:53:12.000000000 +0000
@@ -245,7 +245,8 @@
set->green.length == req->green.length &&
set->blue.length == req->blue.length &&
set->xres == req->xres && set->yres == req->yres &&
- set->pixclock == req->pixclock &&
+ /* xenfb sets pixclock to 0 (Novell Bug #285523) */
+ ((set->pixclock == req->pixclock) || !set->pixclock) &&
set->right_margin == req->right_margin &&
set->hsync_len == req->hsync_len &&
set->left_margin == req->left_margin &&