summaryrefslogtreecommitdiff
path: root/src/Fl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl.cxx')
-rw-r--r--src/Fl.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index eb00a411d..534a7d8e0 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -1967,6 +1967,11 @@ void fl_close_display()
Fl::screen_driver()->close_display();
}
+FL_EXPORT Window fl_xid_(const Fl_Window *w) {
+ Fl_X *temp = Fl_X::i(w);
+ return temp ? temp->xid : 0;
+}
+
//
// End of "$Id$".
//