I've got a GTK application that draws on a GdkDrawable outside of an 
expose event and it doesn't seem to work against GTK+/DFB 2.10.3.  I 
looked at the source a bit and I noticed that a recent change to 
gdkdrawable-directfb.c (revision 1.5 in GTK+ CVS) removed calls to 
gdk_directfb_update_region after the GdkDrawable primitive calls (like 
drawing lines).  gdk_directfb_update_region used to check if an expose 
event was in progress and flip the surface if it wasn't, but now no 
check occurs.  I believe that the new code will not support drawing 
graphics outside of a paint event.  I know that it is generally not a 
nice thing to do to paint outside of an expose event, but I'd love to 
know the motivation behind the changes so I can appropriately adjust my 
code.

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

Reply via email to