summaryrefslogtreecommitdiff
path: root/src/Fl_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Window.cxx')
-rw-r--r--src/Fl_Window.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx
index dedbf525d..c34988cf3 100644
--- a/src/Fl_Window.cxx
+++ b/src/Fl_Window.cxx
@@ -631,6 +631,11 @@ void Fl_Window::size_range(int minw, int minh, int maxw, int maxh, int dw, int d
pWindowDriver->size_range();
}
+/** The number of the screen containing the mapped window */
+inline int Fl_Window::screen_num() {
+ return pWindowDriver->screen_num();
+}
+
//
// End of "$Id$".
//