diff options
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 9eff16f63..e981faa93 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -1873,7 +1873,11 @@ void Fl_Window::make_current() { // update the cairo_t context if (Fl::cairo_autolink_context()) Fl::cairo_make_current(this); #endif +} +Window fl_xid(const Fl_Window* w) +{ + return Fl_X::i(w)->xid; } #ifdef USE_PRINT_BUTTON |
