On 02/11/10 09:54, Scholz, Heiko wrote:
Hi,
I try to write a simple DirectFB window focus manager using SaWMan, to switch
between several fullscreen DirectFB applications.
Based on testman application I deactivate mosaic layout and simply add new
windows to SaWMan without resizing them. So every new window is showing
fullscreen in
front of last one.
Now my understanding was by using ISaWManManager::SwitchFocus I can get a
specific window in front of the stack. The switch_focus callback is called, but
now
window changing happens.
Is this the wright way to switch between fullscreen windows?
SwitchFocus() just manages the target for key events.
You can raise the window by reinserting it via
manager->InsertWindow( manager, window, SAWMAN_WINDOW_NONE, SWMWR_TOP );
--
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