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