Restore forcing the position of a window before it's shown
This commit is contained in:
parent
38cf195727
commit
fea125eca9
@ -3322,6 +3322,7 @@ void Fl_Cocoa_Window_Driver::show() {
|
||||
* resize a window
|
||||
*/
|
||||
void Fl_Cocoa_Window_Driver::resize(int X, int Y, int W, int H) {
|
||||
if (!pWindow->shown() && (X != x() || Y != y())) force_position(1);
|
||||
if (view_resized() || !visible_r()) {
|
||||
pWindow->Fl_Group::resize(X, Y, W, H);
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user