|
|
Debian 11
X.Org version: 1.20.11
The following example:
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
int main(int argc, char** argv) {
Fl_Window* window = new Fl_Window(100, 100);
window->end();
window->show(argc, argv);
window->resize(0, 0, 800, 600); // <---------
return Fl::run();
}
With FLTK 1.3.8: the window shows up at position (0, 0), 800x600 pixels as expected.
With FLTK 1.4.0 commit 2cedae1: the window shows up in the middle of the screen, 100x100 window (the original unchanged size).
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/471@github.com>
[ Direct Link to Message ] | |
|
| |