On Tue, Feb 22, 2005 at 09:54:12AM +0100, Denis Oliver Kropp wrote:
> 
> Hi,
> 
> do you think there are important things to be done
> before the current CVS version is released as 0.9.22?

Just found this one:
Run DFBTerm, then start two exclusive apps on the same layer as DFBTerm. 
When the last started exclusive app quits the DFBTerm is dislayed instead 
of the other exclusive app.

This patch fixes it. Is there some reason for this behaviour or is it just 
a bug?

Index: layer_control.c
===================================================================
RCS file: /cvs/directfb/DirectFB/src/core/layer_control.c,v
retrieving revision 1.11
diff -u -r1.11 layer_control.c
--- layer_control.c     10 Feb 2005 12:02:58 -0000      1.11
+++ layer_control.c     22 Feb 2005 13:10:10 -0000
@@ -445,14 +445,10 @@
           /* There's no active context anymore. */
           ctxs->active = -1;
 
-          /* Activate primary (shared) context. */
-          if (ctxs->primary) {
+          if (ctxs->primary)
                D_ASSERT( fusion_vector_contains( &ctxs->stack, ctxs->primary ) 
);
 
-               if (shared->suspended || dfb_layer_context_activate( 
ctxs->primary ) == DFB_OK)
-                    ctxs->active = fusion_vector_index_of( &ctxs->stack, 
ctxs->primary );
-          }
-          else if (fusion_vector_has_elements( &ctxs->stack )) {
+          if (fusion_vector_has_elements( &ctxs->stack )) {
                CoreLayerContext *ctx;
 
                /* Activate most recent context. */

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-dev mailing list
[email protected]
http://www.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to