Hack for fixing #10578 (wrong initial handle position separating main windows).
Hack for fixing #10578 (wrong initial handle position separating main windows).

G. Melquiond noticed that the size_allocate event is emitted in the
Layout step of the Events-Update-Layout-Paint gtk+ loop so that it is
actually processed only when a further event arrived. In some
circonstances, this next event has to be an action from the user. So,
in some circonstances, at initialization of Coqide, the handle, whose
positioning was precisely governed by the size_allocate event, was
only set at its expected position after a first action of the
user. Before this first action of the user, the handle separating the
buffer and the pair of goal and message windows, as well as the handle
separating the goal window and the message window were located in the
leftmost uppermost corner, which gave an impression of non-usability
of CoqIDE.

To prevent this, we early set the position of the handle at an
estimated value depending on the width and height of the whole coqide
windows in the preferences.

(Also removing a previous temporary setting of the handle position to
- strangely - value 1 but this was anyway overwritten by the
size_allocate event.)

SkySkimmer/coq,coq/coq,coq/coq,gares/coq,coq/coq,JasonGross/coq,silene/coq,silene/coq,Matafou/coq,gares/coq,SkySkimmer/coq,JasonGross/coq,coq/coq,JasonGross/coq,ejgallego/coq,Zimmi48/coq,Zimmi48/coq,Zimmi48/coq,ejgallego/coq,gares/coq,ejgallego/coq,Matafou/coq,gares/coq,Matafou/coq,SkySkimmer/coq,SkySkimmer/coq,silene/coq,gares/coq,Zimmi48/coq,JasonGross/coq,ejgallego/coq