summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-08-03 18:20:37 +0000
committerManolo Gouy <Manolo>2018-08-03 18:20:37 +0000
commit643bb3bbbbc3fc1430630d5909d6f4d727bf1824 (patch)
tree3cff38a0fa82b71650a1ac7948738c05abc0d66e /src/Fl_x.cxx
parentc37ea8b6cadc104cf3ef4621eb52cb8e233227d9 (diff)
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
Diffstat (limited to 'src/Fl_x.cxx')
-rw-r--r--src/Fl_x.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 595a7a944..fce8e1c8e 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -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);