Hi,

Stephen Chula <[EMAIL PROTECTED]> writes:

> I am having some problems with the IDirectFB->Suspend/Resume Functions.
> It is able to Suspend fine, but some where in the Resume call, it seg
> faults.  I am using DirectFB-0.9.11.

Resume was broken and is now fixed in CVS. Below is a patch in case
you don't want to or can't use CVS.


Salut, Sven

--- core/layers.c       31 May 2002 22:09:03 -0000      1.37
+++ core/layers.c       12 Jun 2002 17:51:46 -0000
@@ -247,8 +247,8 @@ dfb_layers_resume()
           if (l->shared->enabled) {
                l->funcs->Enable( l, l->driver_data, l->layer_data );
                
-               l->funcs->SetConfiguration( l, &l->shared->config,
-                                           l->driver_data, l->layer_data );
+               l->funcs->SetConfiguration( l, l->driver_data,
+                                           l->layer_data, &l->shared->config ); 
                if (l->shared->stack)
                     dfb_windowstack_repaint_all( l->shared->stack );


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to