
Both
IDirectFB_GetDisplayLayer
and
IDirectFBDisplayLayer_SetConfiguration
cause a xwindow to be created
this causes the first window to be destroyed
and a second to be created with the new configuration.
There are a number of problems here and the code
needs to be reworked to not create the window or at least not
display it because were changing configurations or enumerating layers.
There are several conceptual problems here.
but at least we won't get two windows with one not used

DirectFB/directfb,dfbdok/DirectFB1,kaostao/directfb,jcdubois/DirectFB,mtsekm/test,mtsekm/test,Distrotech/DirectFB,djbclark/directfb-core-DirectFB,deniskropp/DirectFB,kevleyski/directfb,deniskropp/DirectFB,kevleyski/DirectFB-1,deniskropp/DirectFB,lancebaiyouview/DirectFB,Distrotech/DirectFB,jcdubois/DirectFB,sklnet/DirectFB,lancebaiyouview/DirectFB,djbclark/directfb-core-DirectFB,sklnet/DirectFB,kevleyski/directfb,deniskropp/DirectFB,djbclark/directfb-core-DirectFB,kaostao/directfb,jcdubois/DirectFB,DirectFB/directfb,kevleyski/DirectFB-1,sklnet/DirectFB,kevleyski/DirectFB-1,dfbdok/DirectFB1,Distrotech/DirectFB,kaostao/directfb,djbclark/directfb-core-DirectFB,mtsekm/test,lancebaiyouview/DirectFB,kevleyski/directfb,DirectFB/directfb,sklnet/DirectFB,dfbdok/DirectFB1,kevleyski/directfb,lancebaiyouview/DirectFB,kevleyski/DirectFB-1