I have tried the following: echo "init-layer=0" >> /etc/directfbrc echo "layer-bg-none" >> /etc/directfbrc
This results in a Flip occuring and me seeing a black screen (the fill of my FB on second half, first half is a splash image.) If i repeat with the 'layer-bg-none' not set then I get a nice shade of brown bg colour. (As expected) So currently it appears that it can choose what bg-color to use but even when you say no bg-color it still flips. This all occurs during the call to DirectFBCreate. I will have a look at SawMan this might be an option. I will try to post some logs of Debug to help work out why the flip occurs anyway. Cheers Daniel Laird Denis Oliver Kropp wrote: > > Denis Oliver Kropp wrote: >> Daniel Laird wrote: >>> I have a slightly weird issue. >>> >>> If I call GetDisplayLayer I get a layer pointer. >>> If I then call SetCooperativeLevel(EXCLUSIVE) it does a layer flip. >>> This is not very good. Is there any reason why this happens? >>> >>> It seems odd that without accessing the layer in any way a FLIP occurs. >>> >>> Any ideas on why this might be happening? >> >> The reason is the background clear. > > You can try SaWMan. When no window is visible it keeps the layer disabled. > > -- > Best regards, > Denis Oliver Kropp > > .------------------------------------------. > | DirectFB - Hardware accelerated graphics | > | http://www.directfb.org/ | > "------------------------------------------" > _______________________________________________ > directfb-dev mailing list > directfb-dev@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > -- View this message in context: http://www.nabble.com/Cooperative-Level-Handling.-tp19527930p19532275.html Sent from the DirectFB Dev mailing list archive at Nabble.com. _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev