summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-17 16:24:30 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-17 16:24:41 +0100
commit2af43ef4c809bdef49789db28b1fee9ccb272a5a (patch)
treeea3934d04be9af2d71cba83e9b759115cfa0e2f1 /src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
parent4a3781eb0eadc65e93ecb490c7b5f817253f0a0f (diff)
Remove special FL_CURSOR_NONE implementation in Wayland
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index a23ae5653..641b397e5 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -1402,16 +1402,6 @@ int Fl_Wayland_Window_Driver::set_cursor(Fl_Cursor c) {
if (!scr_driver->xc_nw) return 0;
scr_driver->default_cursor(scr_driver->xc_nw);
break;
- case FL_CURSOR_NONE:
- if (!scr_driver->xc_none) {
- static const uchar pixel[] = {0, 0, 0, 0};
- Fl_RGB_Image image(pixel, 1, 1, 4);
- this->set_cursor(&image, 0, 0);
- scr_driver->xc_none = xid->custom_cursor;
- xid->custom_cursor = NULL;
- }
- scr_driver->default_cursor(scr_driver->xc_none);
- break;
default:
return 0;