On 03.09.2010, at 10:19, Albrecht Schlosser wrote:

> The real problem is probably that you don't call
> Fl_Widget::resize() at all, if w() and h() didn't change.
> This would technically result in *rejecting* the request.
> However, since your widget is derived from Fl_Double_window,
> the window manager does not necessarily honor your request
> to reject the (reposition) event and can probably send
> another message.

Reading my own text and your description again, this does
perfectly explain why your tooltips and menus are outside
your window: the window manager repositioned the window,
but you didn't allow FLTK to adjust its _internal_ window
x/y coordinates because you didn't call Fl_Widget::resize().
Thus, FLTK "thinks" that the window is at another position.

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to