SaWMan

DirectFB proudly presents SaWMan, the Shared application and Window Manager, as a co-development of Royal Philips and Denis Oliver Kropp.

 

Introduction

SaWMan is a new window manager module for use with DirectFB. Its main difference to the default module is that it allows one process to be an application and window manager, implementing all kinds of diversity, while SaWMan is only the working horse.

 

On its own, SaWMan will behave similar to the default window manager, but as soon as there's an application manager,

SaWMan will do synchronous RPCs to that application in relevant functions of the window manager module. That means it switches to the process and continues after it has completed the requested call and returned a result. The data which those calls operate on is already in shared memory, e.g. a window configuration.

 

The application manager can hook itself into serveral operations with this, e.g. it can forbid or modify requested window configurations right before they're actually applied by SaWMan.

 

For non-desktop and especially non-pointer environments like TVs, it is important to provide a simple and convenient layout and focus management. The layout of all windows can be completely overriden by the application manger, e.g. to inplement a screen tiling mode.

 

The integration of application management allows easy definition and handling of application specific constraints. The manager has a list of applications identified by theire name. Launching applications is usually initiated by the application manager itself, e.g. based on global keys grabbed by an input only window. However, the public SaWMan interfaces provide a way to send launch/shutdown requests from any application to the application manager.

 

While the key grabbing only provides asynchronous notification about keys which are then handled in the manager's main loop, SaWMan provides a hook to let the manager basically filter every single input event in a synchronous way,

similar to the window configuration. Critical operations like layout and focus switching are best done in this callback.

 

http://www.directfb.org/index.php?path=Platform%2FSaWMan

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值