diff options
| author | Manolo Gouy <Manolo> | 2011-11-29 11:50:18 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-11-29 11:50:18 +0000 |
| commit | eab4e1f2d5bb056b44cec468bda41be702f338b8 (patch) | |
| tree | 35d7f90126b7aba0a83fca9ff421098c7d36cfe2 /src | |
| parent | 05f669c9cef365de7a0bb5f79c6a1efc8f255a2f (diff) | |
Needed after r.9181 for the Gmsh program according to its author Christophe Geuzaine
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 770e2acf7..5a9db99bd 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2217,7 +2217,10 @@ void Fl_Window::resize(int X,int Y,int W,int H) { // printf("Fl_Window::resize(X=%d, Y=%d, W=%d, H=%d), is_a_resize=%d, resize_from_system=%p, this=%p\n", // X, Y, W, H, is_a_resize, resize_from_system, this); if (X != x() || Y != y()) set_flag(FORCE_POSITION); - else if (!is_a_resize) return; + else if (!is_a_resize) { + resize_from_system = 0; + return; + } if ( (resize_from_system!=this) && (!parent()) && shown()) { if (is_a_resize) { if (resizable()) { |
