summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/Fl_x.cxx2
-rw-r--r--src/drivers/X11/Fl_X11_Window_Driver.H1
-rw-r--r--src/drivers/X11/Fl_X11_Window_Driver.cxx1
3 files changed, 0 insertions, 4 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);
diff --git a/src/drivers/X11/Fl_X11_Window_Driver.H b/src/drivers/X11/Fl_X11_Window_Driver.H
index 282caf4c6..d31940018 100644
--- a/src/drivers/X11/Fl_X11_Window_Driver.H
+++ b/src/drivers/X11/Fl_X11_Window_Driver.H
@@ -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 {
diff --git a/src/drivers/X11/Fl_X11_Window_Driver.cxx b/src/drivers/X11/Fl_X11_Window_Driver.cxx
index cef1c9201..1d0af72e9 100644
--- a/src/drivers/X11/Fl_X11_Window_Driver.cxx
+++ b/src/drivers/X11/Fl_X11_Window_Driver.cxx
@@ -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