Skip to content

Commit

Permalink
Fix issue#288.
Browse files Browse the repository at this point in the history
Thanks @CendioOssman for pointing to it and its solution.
  • Loading branch information
ManoloFLTK committed Nov 4, 2021
1 parent e0626e0 commit 4cac99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fl_cocoa.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ - (void)windowDidMove:(NSNotification *)notif
main_screen_height = CGDisplayBounds(CGMainDisplayID()).size.height;
int X, Y;
CocoatoFLTK(window, X, Y);
window->Fl_Widget::resize(X, Y, window->w(), window->h());
if (window->x() != X || window->y() != Y) window->position(X, Y);
update_e_xy_and_e_xy_root(nsw);
// at least since MacOS 10.9: OS moves subwindows contained in a moved window
// setSubwindowFrame is no longer necessary.
Expand Down

0 comments on commit 4cac99e

Please sign in to comment.