diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-05-08 17:08:20 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-05-08 17:08:33 +0200 |
| commit | 7f7e0e4ea1cdf52e0d5f2858baa976bd391e973a (patch) | |
| tree | 928cb1348d7736b6d59e01664878d78bf5ba20b5 /src/Fl_x.cxx | |
| parent | ccb06e18b7416328bc2c91e8b3ac5f0f4533f3ab (diff) | |
Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale()
so it can be called by any user code.
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 9a8c813e5..ed3abf682 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -2252,8 +2252,8 @@ int fl_handle(const XEvent& thisevent) //////////////////////////////////////////////////////////////// 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() || Fl_Window::is_a_rescale()); + int is_a_resize = (W != w() || H != h() || Fl_Window::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); |
