diff options
| -rw-r--r-- | FL/Fl_Window.H | 2 | ||||
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 2 | ||||
| -rw-r--r-- | src/Fl_Window.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index 8b2f8196a..bbd1f573f 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -120,7 +120,7 @@ protected: \see force_position(int) */ int force_position() const { return ((flags() & FORCE_POSITION)?1:0); } - Fl_Window* window_offset(int& xoff, int& yoff) const; + Fl_Window* top_window_offset(int& xoff, int& yoff) const; public: diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 441dea78a..58384a508 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -184,7 +184,7 @@ void Fl_Gl_Window::make_current() { if (window()) { int xoff,yoff; - const Fl_Window *win = window_offset(xoff, yoff); // STR #2944 [2] + const Fl_Window *win = top_window_offset(xoff, yoff); // STR #2944 [2] xywh[0] = xoff; xywh[1] = win->h() - yoff - h(); } else { diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index b6e5985bc..ffda05a1a 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -283,7 +283,7 @@ void Fl_Window::icon(const void * ic) { \param[out] xoff,yoff Returns the x/y offset \returns the top-level window */ -Fl_Window* Fl_Window::window_offset(int& xoff, int& yoff) const { +Fl_Window* Fl_Window::top_window_offset(int& xoff, int& yoff) const { xoff = yoff = 0; const Fl_Window *win = (const Fl_Window*)this; while (win && win->window()) { |
