summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_x.cxx')
-rw-r--r--src/Fl_x.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 8b839c6e8..bc2a534cd 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -2047,6 +2047,8 @@ int fl_handle(const XEvent& thisevent)
}
wd->screen_num(num);
}
+#else // ! USE_XFT
+ Fl_Window_Driver::driver(window)->screen_num( Fl::screen_num(X, Y, W, H) );
#endif // USE_XFT
// tell Fl_Window about it and set flag to prevent echoing: