IDirectFBEventBuffer: In Destruct, first detach from all windows, then unref all, to avoid a dead lock.
IDirectFBEventBuffer: In Destruct, first detach from all windows, then unref all, to avoid a dead lock.

The dead lock happened when two windows were attached to the event buffer, the first one was
detached and unrefed, but unrefing gave focus to the other window which was still attached and
dead locked when trying to queue an event in the event buffer just being destructed.

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