Couple  of ideas to try:

(1) try returning DFB_NOIMPL from all of your sawman callbacks.  If
the windowstack refresh starts working, slowly change them back to
DFB_OK (or whatever you have now) and see if the problem shows up.

(2) try defining either SAWMAN_NO_LAYER_DOWNSCALE and/or
SAWMAN_NO_LAYER_DST_WINDOW in sawman_updates.c when you build sawman
and see if it has any effect.

(3) try putting show-empty on a single line in /etc/sawmanrc



On Tue, Jan 10, 2012 at 3:00 AM,  <directfb-users-requ...@directfb.org> wrote:
> Send directfb-users mailing list submissions to
>        directfb-users@directfb.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
> or, via email, send a message with subject or body 'help' to
>        directfb-users-requ...@directfb.org
>
> You can reach the person managing the list at
>        directfb-users-ow...@directfb.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of directfb-users digest..."
>
>
> Today's Topics:
>
>   1. Animating windows with SaWMan (Johan Larsson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 9 Jan 2012 14:31:16 +0100
> From: Johan Larsson <johan.t.lars...@gmail.com>
> To: directfb-users@directfb.org
> Subject: [directfb-users] Animating windows with SaWMan
> Message-ID:
>        <CA+64au_wKfqjp3CguarWe5_aCNVxR=Cj+irQCbCRVjK_N=e...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello.
>
> I am trying to animate windows from various processes using a SaWMan-based
> WM program, and I've run into some trouble.
>
> The basic flow of the WM program is this:
> 1: Receive button press in the SaWMan InputFilter callback
> 2: Set a periodic timer and return.
> 3: Every time the timer ticks, do something like:
>
> SaWManager->Lock(SaWManager)
> for (<every window>) {
>      SaWManWindowConfig config;
>      config.bounds = windows->second.bounds;
>      config.bounds.x += 20;
>      SaWManager->SetWindowConfig(SaWManager,
>                                                       window,
>                                                       SWMCF_POSITION,
>                                                       &config);
> }
> SaWManager->QueueUpdate(SaWManager, DWSC_MIDDLE, NULL);
> SaWManager->Unlock(SaWManager);
> SaWManager->ProcessUpdates(SaWManager, DSFLIP_NONE);
>
> I've tried several variations of the above, but that's the theme of
> it. However, this does not work. It seems the system never receives any
> notification that it needs to redraw the window. I can see the window move
> only if its owner process tries to redraw it. I've found no way to trigger
> a redraw operation from the SaWMan process.
>
> So I'm wondering, what is the correct method for doing animated window
> transitions using SaWMan, and is there a way to trigger a redraw of a
> window after calling SetWindowConfig?
>
> Regards,
> Johan L
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://mail.directfb.org/pipermail/directfb-users/attachments/20120109/5efdabe2/attachment-0001.html>
>
> ------------------------------
>
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>
>
> End of directfb-users Digest, Vol 83, Issue 5
> *********************************************
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to