From 3525f0a1964b82e52b30eba916d30fabc0853b85 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Fri, 29 Feb 2008 02:20:12 -0300 Subject: [PATCH] Add a dummy mfbChangeWindowAttributes function The original one was removed in commit e4d11e58ce349dfe6af2f73ff341317f9b39684c This only adds a stub for missing symbol xf1bppChangeWindowAttributes in the vga driver. This patch isn't enough to make the vga driver work, but solves problems with missing symbols. This symbols is required in a several other modules (that are most likely broken), including xf1bpp, xf4bpp and cfb. --- mfb/mfbwindow.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/mfb/mfbwindow.c b/mfb/mfbwindow.c index 37125da..39397f0 100644 --- a/mfb/mfbwindow.c +++ b/mfb/mfbwindow.c @@ -166,3 +166,20 @@ mfbCopyWindow(pWin, ptOldOrg, prgnSrc) xfree(pptSrc); REGION_DESTROY(pWin->drawable.pScreen, prgnDst); } + +/*ARGSUSED*/ +Bool +mfbChangeWindowAttributes(pWin, mask) + register WindowPtr pWin; + register unsigned long mask; +{ + /* + * Does this work like in mfbPositionWindow() ? + * + pWin->drawable.serialNumber = NEXT_SERIAL_NUMBER; + */ + + /* Again, we have no failure modes indicated by any of the routines + * we've called, so we have to assume it worked */ + return (TRUE); +} -- 1.5.3.2