mirror of
https://github.com/fltk/fltk.git
synced 2026-05-30 21:25:30 +08:00
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:
@@ -2856,7 +2856,6 @@ int Fl_X11_Window_Driver::set_cursor(Fl_Cursor c) {
|
|||||||
#undef cache_cursor
|
#undef cache_cursor
|
||||||
|
|
||||||
XDefineCursor(fl_display, fl_xid(pWindow), xc);
|
XDefineCursor(fl_display, fl_xid(pWindow), xc);
|
||||||
current_cursor_ = xc;
|
|
||||||
|
|
||||||
return 1;
|
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);
|
xc = XcursorImageLoadCursor(fl_display, cursor);
|
||||||
XDefineCursor(fl_display, fl_xid(pWindow), xc);
|
XDefineCursor(fl_display, fl_xid(pWindow), xc);
|
||||||
current_cursor_ = xc;
|
|
||||||
XFreeCursor(fl_display, xc);
|
XFreeCursor(fl_display, xc);
|
||||||
|
|
||||||
XcursorImageDestroy(cursor);
|
XcursorImageDestroy(cursor);
|
||||||
|
|||||||
@@ -65,7 +65,6 @@ private:
|
|||||||
Fl_RGB_Image **icons;
|
Fl_RGB_Image **icons;
|
||||||
int count;
|
int count;
|
||||||
} *icon_;
|
} *icon_;
|
||||||
Cursor current_cursor_;
|
|
||||||
#if USE_XFT
|
#if USE_XFT
|
||||||
// --- support for screen-specific scaling factors
|
// --- support for screen-specific scaling factors
|
||||||
struct type_for_resize_window_between_screens {
|
struct type_for_resize_window_between_screens {
|
||||||
|
|||||||
@@ -129,7 +129,6 @@ Fl_X11_Window_Driver::Fl_X11_Window_Driver(Fl_Window *win)
|
|||||||
{
|
{
|
||||||
icon_ = new icon_data;
|
icon_ = new icon_data;
|
||||||
memset(icon_, 0, sizeof(icon_data));
|
memset(icon_, 0, sizeof(icon_data));
|
||||||
current_cursor_ = None;
|
|
||||||
#if USE_XFT
|
#if USE_XFT
|
||||||
screen_num_ = -1;
|
screen_num_ = -1;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user