Remove private member variable Fl_X11_Window_Driver::current_cursor_ that's no longer used.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2018-08-03 18:20:37 +00:00
parent c37ea8b6ca
commit 643bb3bbbb
3 changed files with 0 additions and 4 deletions

View File

@ -2856,7 +2856,6 @@ int Fl_X11_Window_Driver::set_cursor(Fl_Cursor c) {
#undef cache_cursor
XDefineCursor(fl_display, fl_xid(pWindow), xc);
current_cursor_ = xc;
return 1;
}
@ -2924,7 +2923,6 @@ int Fl_X11_Window_Driver::set_cursor(const Fl_RGB_Image *image, int hotx, int ho
xc = XcursorImageLoadCursor(fl_display, cursor);
XDefineCursor(fl_display, fl_xid(pWindow), xc);
current_cursor_ = xc;
XFreeCursor(fl_display, xc);
XcursorImageDestroy(cursor);

View File

@ -65,7 +65,6 @@ private:
Fl_RGB_Image **icons;
int count;
} *icon_;
Cursor current_cursor_;
#if USE_XFT
// --- support for screen-specific scaling factors
struct type_for_resize_window_between_screens {

View File

@ -129,7 +129,6 @@ Fl_X11_Window_Driver::Fl_X11_Window_Driver(Fl_Window *win)
{
icon_ = new icon_data;
memset(icon_, 0, sizeof(icon_data));
current_cursor_ = None;
#if USE_XFT
screen_num_ = -1;
#endif