diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 2 | ||||
| -rw-r--r-- | src/Fl_Window.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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()) { |
