From c88466928db4ecdeb4e6c6eb84c873319d02ec7d Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 28 Jul 2017 15:51:05 +0000 Subject: Replace static protected bool Fl_Window_Driver::is_a_rescale by a private static variable and a public getter. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_x.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_x.cxx') diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 887a09f39..25ae92d55 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -2106,8 +2106,8 @@ fprintf(stderr,"\n");*/ //////////////////////////////////////////////////////////////// void Fl_X11_Window_Driver::resize(int X,int Y,int W,int H) { - int is_a_move = (X != x() || Y != y() || is_a_rescale); - int is_a_resize = (W != w() || H != h() || is_a_rescale); + int is_a_move = (X != x() || Y != y() || is_a_rescale()); + int is_a_resize = (W != w() || H != h() || is_a_rescale()); int resize_from_program = (pWindow != resize_bug_fix); if (!resize_from_program) resize_bug_fix = 0; if (is_a_move && resize_from_program) force_position(1); -- cgit v1.2.3