1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:37:34 +00:00

WindowServer: Add a dedicated drag cursor

This commit is contained in:
Andreas Kling 2019-12-08 20:28:48 +01:00
parent 8423be2593
commit 39c2d04a9b
6 changed files with 10 additions and 0 deletions

View file

@ -40,6 +40,8 @@ RefPtr<WSCursor> WSCursor::create(WSStandardCursor standard_cursor)
return WSWindowManager::the().resize_diagonally_bltr_cursor();
case WSStandardCursor::Hand:
return WSWindowManager::the().hand_cursor();
case WSStandardCursor::Drag:
return WSWindowManager::the().drag_cursor();
}
ASSERT_NOT_REACHED();
}