>
> Sorry, but I think there's something wrong with this patch.  Given the
> following file:
>
> #include <FL/Fl.H>
> #include <FL/Fl_Window.H>
> #include <FL/Fl_Box.H>
>
>
> void
> make(int x, int y, int w, int h, const char *label)
> {
>     printf("%s: wanted: %d %d\n", label, x, y);
>     Fl_Window *win = new Fl_Window(x, y, w, h, label);
>     win->show();
>     printf("got: %d %d\n", win->x(), win->y());
> }
>
> int
> main()
> {
>     make(2318, 22, 120, 1092, "1");
>     make(2920, 22, 86, 310, "2"); // 1800, 854
>     make(2440, 22, 71, 195, "3"); // 2440, 854
>     make(2543, 23, 374, 767, "4");
>     make(2200, 22, 118, 1006, "5");
>     Fl::run();
>     return 0;
> }
>
>
> The windows marked with comments appear at the (x, y) coordinates in
> the comment, not the requested ones.
>

Please, try r.9176 that should fix all problems.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to