[haiku-development] Re: input server as a BServer

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 17 Dec 2007 16:10:23 +0100

On 2007-12-17 at 14:05:21 [+0100], Stefano Ceccherini 
<stefano.ceccherini@xxxxxxxxx> wrote:
> While tracking down some problems I have with app_server <-> libbe
> communication, I added (locally) a debugger() call inside
> LinkReceiver::Read().
> 
> Basically, when some app reads beyond the current message, it'll
> trigger a debugger call.
> The problem is that the input server dies at startup in
> BApplication::_InitGuiContext().
> 
> Can we make the input server a BServer, so that it doesn't call this
> code at startup ?
> 
> I am aware that the Input server needs a gui to display the bottomline
> window used for input methods, but we can delay the call to
> InitGuiContext() when it's actually needed.

The registrar does it just the same way, so there shouldn't be a problem 
with this strategy.

> I think that with this change, our input server won't work on beos r5 
> anymore.

I suppose that's not really a problem. Besides, you can still use #ifdefs 
to keep it working on R5, if you think it's worth it.

CU, Ingo

Other related posts: