[haiku-development] input server as a BServer

  • From: "Stefano Ceccherini" <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 17 Dec 2007 14:05:21 +0100

Hi.
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.

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

Other related posts: