Some Guy wrote:
Hi Niels,

Thanks for your response. I would like something like an application manager that SaWMan seems to provide since I would like to manipulate placement of these windows and scaling of their contents in a programmatic environment outside of the windowed dfb applications. Basically, I would want the dfb apps to have an WxH surface, draw to it, and then have some other application move them and scale them around. Additionally, I would like to be able to send input to lower windows if the topmost one does not handle it. Would the default manager be enough there?
the default manager does not "manage" strictly speaking, it is more a composer.
You would need sawman for the things you mention.
Normally, starting "testman" first, and then starting other apps will work, you best work with window aware apps such as df_window.

I found that sometimes I have a .fusion-0 directory in my /tmp directory after running the apps which cause the IPC error. If I delete the directory then I can run the app again. Unfortunately, I'm still not seeing anything when just running testman - should I be?

Not sure what that is.. not something I have.
Fusion does make nodes for shared memory handling.

sb

On Wed, Jan 20, 2010 at 3:32 PM, Niels Roest <[email protected] <mailto:[email protected]>> wrote:

    Hi there.

    First off, for working with windows you can also simply use the
    "default" window manager.
    The major difference with SaWMan is that "default" has no access
    control, so it will simply comply what the apps request, I am
    guessing this is enough for your needs. Just use
    IDirectFBDisplayLayer::CreateWindow() and use e.g. Raise() to
    change z-order.

    I am unsure why you are having issues with x11, since that is
    exactly what I am using - ubuntu 8.04 AMD64 here. Make sure you
    use a recent version like 1.4.x. Are you using the fusion kernel
    module?

    Some Guy wrote:

        I think SaWMan might be useful, so I started to play with it.
         I'm trying to develop this on a x64 Ubuntu machine.  relevant
        lines in my directfbrc file:

        system=x11
        session=0
        wm=sawman

        When I run testman, I see nothing on the screen.  Launching
        any other df apps do not come up either.  If I don't launch
        testman, and run df_window, I'll see the app, but the window
        is transparent and I see only one of the windows from
        df_window flashing as if it as focus.  The other window is
        chopped out, but I can see part of it since it is translucent
        and behind the focused window.

        Also, I sometimes get Fusion/Init IPC errors after unclean
        shutdowns - primarily something about Could not enter world
        '0'.  Is there a way to fix this aside from rebooting?  Once
        I'm in that state, no df app that I've tried runs for me.  I
        read back in 2002 there was an ipc_cleanup script, but it
        seems to be obsolete now.

        Any help/advice would be appreciated.

        Thanks,

        sb
        ------------------------------------------------------------------------

        _______________________________________________
        directfb-users mailing list
        [email protected] <mailto:[email protected]>
        http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users


--
    .------------------------------------------.
    | DirectFB - Hardware accelerated graphics |
    | http://www.directfb.org/                 |
    "------------------------------------------"




--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to