Hello Everyone,

I working on DFB 1.2.7 and noticed that with the "default" windowmanager that 
the windows "smear" when they move.  A little digging revealed that the culprit 
is the CoreWindowStack background mode set to DLBM_DONTCARE.  In 
wm/default/default.c, the function draw_background seems capable of 
DLBM_DONTCARE, DLBM_COLOR, DLBM_IMAGE, and DLBM_TILE.  It just requires the 
mode to be properly set.

Tracking down the background mode, I found that it was set in 
src/core/windowstack.c in dfb_windowstack_create().  It is initialized to 
DLBM_DONTCARE.  However, I don't see any way of informing the window manager 
what I want to use.  I want DLBM_COLOR with a transparent color.

Short of modifying default.c, is there any way of telling the window manager 
what background mode/color I want?  I assume it would be by using the 
directfbrc options "layer-bg-color", "layer-bg-image", etc, but I don't see how 
exactly.

Thanks,

Bryce Poole
Intel Corporation
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to