From eab4e1f2d5bb056b44cec468bda41be702f338b8 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 29 Nov 2011 11:50:18 +0000 Subject: 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 --- src/Fl_cocoa.mm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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()) { -- cgit v1.2.3