Skip to content

Commit 142ca4b

Browse files
thankyouverycoolawesomekling
authored andcommitted
WindowServer+LibGfx: Enumerate Disallow cursor
1 parent bc26d10 commit 142ca4b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Userland/Libraries/LibGfx/StandardCursor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ enum class StandardCursor {
4545
Drag,
4646
Move,
4747
Wait,
48+
Disallowed,
4849
__Count,
4950
};
5051

Userland/Services/WindowServer/Cursor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ RefPtr<Cursor> Cursor::create(Gfx::StandardCursor standard_cursor)
181181
return WindowManager::the().move_cursor();
182182
case Gfx::StandardCursor::Wait:
183183
return WindowManager::the().wait_cursor();
184+
case Gfx::StandardCursor::Disallowed:
185+
return WindowManager::the().disallowed_cursor();
184186
default:
185187
VERIFY_NOT_REACHED();
186188
}

0 commit comments

Comments
 (0)