I have this crash in GTK FB because the primary_region is still NULL
at this point

here is a patch

diff -u -r1.27 default.c
--- default.c   29 Oct 2005 00:41:01 -0000      1.27
+++ default.c   16 Nov 2005 03:47:24 -0000
@@ -1196,12 +1196,13 @@
      if (!dfb_unsafe_region_intersect( &area, 0, 0, stack->width - 1,
stack->height - 1 ))
           return DFB_OK;

-     if (force_complete)
+        if( window->primary_region ) {
+       if (force_complete)
           repaint_stack( stack, data, window->primary_region, &area, flags );
-     else
+       else
           repaint_stack_for_window( stack, data, window->primary_region,
                                     &area, flags, get_index( data, window ) );
-
+        }
      return DFB_OK;
 }

Now I don't know if it is a bug or not that it is null I looked at
some of the code and it can go to null the window was inputonly and
not disposed so  ????

Mike

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

Reply via email to