diff --git a/Userland/Libraries/LibGfx/StandardCursor.h b/Userland/Libraries/LibGfx/StandardCursor.h index 38c35b7076..6011ed6a27 100644 --- a/Userland/Libraries/LibGfx/StandardCursor.h +++ b/Userland/Libraries/LibGfx/StandardCursor.h @@ -45,6 +45,7 @@ enum class StandardCursor { Drag, Move, Wait, + Disallowed, __Count, }; diff --git a/Userland/Services/WindowServer/Cursor.cpp b/Userland/Services/WindowServer/Cursor.cpp index d25130dcc6..52a30c8775 100644 --- a/Userland/Services/WindowServer/Cursor.cpp +++ b/Userland/Services/WindowServer/Cursor.cpp @@ -181,6 +181,8 @@ RefPtr Cursor::create(Gfx::StandardCursor standard_cursor) return WindowManager::the().move_cursor(); case Gfx::StandardCursor::Wait: return WindowManager::the().wait_cursor(); + case Gfx::StandardCursor::Disallowed: + return WindowManager::the().disallowed_cursor(); default: VERIFY_NOT_REACHED(); }