1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:27:45 +00:00

WindowServer+LibGfx: Enumerate Disallow cursor

This commit is contained in:
thankyouverycool 2021-03-11 10:28:56 -05:00 committed by Andreas Kling
parent bc26d1093f
commit 142ca4b818
2 changed files with 3 additions and 0 deletions

View file

@ -45,6 +45,7 @@ enum class StandardCursor {
Drag,
Move,
Wait,
Disallowed,
__Count,
};

View file

@ -181,6 +181,8 @@ RefPtr<Cursor> 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();
}