diff options
| author | Manolo Gouy <Manolo> | 2017-06-17 06:53:44 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-06-17 06:53:44 +0000 |
| commit | 2cda5a4fa682372f294a7a8e9e2b90a9fdb15610 (patch) | |
| tree | 4040f478267a4ff808c4eaf8ee1aa92014e6465c /src/drivers/X11/Fl_X11_Screen_Driver.cxx | |
| parent | ea56e744afd2029da309bbf33f33a5e505610306 (diff) | |
Make Fl_Screen_Driver::get_mouse(int&, int&) return the number of the mouse-containing screen.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/X11/Fl_X11_Screen_Driver.cxx')
| -rw-r--r-- | src/drivers/X11/Fl_X11_Screen_Driver.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/drivers/X11/Fl_X11_Screen_Driver.cxx b/src/drivers/X11/Fl_X11_Screen_Driver.cxx index 1e1f8a265..d1390e862 100644 --- a/src/drivers/X11/Fl_X11_Screen_Driver.cxx +++ b/src/drivers/X11/Fl_X11_Screen_Driver.cxx @@ -1215,17 +1215,6 @@ int Fl_X11_Screen_Driver::screen_num_unscaled(int x, int y, int w, int h) #endif #if USE_XFT -void Fl_X11_Screen_Driver::screen_xywh(int &X, int &Y, int &W, int &H) -{ - int xx, yy; - int ns = get_mouse_unscaled(xx,yy); - float s = screens[ns].scale; - X = screens[ns].x_org / s; - Y = screens[ns].y_org / s; - W = screens[ns].width / s; - H = screens[ns].height / s; -} - #if HAVE_DLSYM && HAVE_DLFCN_H |
