[haiku-appserver] Re: r15293 - haiku/branches/team/app/app_server_new_clipping/app_server/app

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: "Haiku app_server" <haiku-appserver@xxxxxxxxxxxxx>
  • Date: Mon, 05 Dec 2005 17:00:01 +0100 CET

Stephan Aßmus <superstippi@xxxxxx> wrote:
> One more thing... I thought about how to "sync" size changes in the
> server
> and client. On the server side, a view only changes location and size
> when
> a window is resized. Everything thing else originates from a client
> request. I would like to duplicate the "follow" algos on the client
> side.
> So that there is no communication for syncing at all. The client and
> server
> simply do the same when resizing views and assume they are in sync.
> When a
> window size changes in the server, there is a single message to the
> client
> and it resizes its views totally on its own. How about it?

I think it's worth a try.
As long as this would work out nicely:

time    client                  server
--      --                              --
1       resizes view            resizes window
                                        resizes views according to resize, 
notifies client

2       resizes client          gets AS_LAYER_RESIZE_TO from client
        according to
        window resize

Bye,
   Axel.


Other related posts:

  • » [haiku-appserver] Re: r15293 - haiku/branches/team/app/app_server_new_clipping/app_server/app