[haiku-development] Re: Review & Pull request for Workspaces app

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 14 Dec 2011 10:12:12 +0100

2011/12/14 Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:
> clemens.zeidler@xxxxxxxxxxxxxx wrote:
>> A different question, what was the agreement that the WorkspacesView
>> lives in the app_server? Shouldn't it be moved to client side? To do
>> that it would be necessary to query the window and tab rects from the
>> app_server. Furthermore, the app_server has to send notifications to
>> observer views whenever the tab / window position / size changed...
>
> It's already possible to poll that kind of information. Having notifications 
> sound like a good thing, too.
> I wouldn't mind keeping the view (and drawing) inside the app_server, though; 
> it doesn't really hurt (just allow clients to implement the same 
> functionality).
>

Would be nice to have invalidation notifications too. At least that
would make an application like BeScreenCapture more efficient: instead
of getting a bitmap of the whole screen it would only get invalidated
areas.

Other related posts: