1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:17:35 +00:00

Cursors: Add new Eyedropper cursor

This can be used immediately in PixelPaint (separate commit), but
I am adding this as a system-wide cursor since it may also be useful
for other applications that want to use it.
This commit is contained in:
Mustafa Quraish 2021-08-31 22:16:53 -04:00 committed by Andreas Kling
parent 81326ac8c7
commit 30ce1d8562
8 changed files with 8 additions and 0 deletions

View file

@ -2080,6 +2080,7 @@ void WindowManager::apply_cursor_theme(const String& theme_name)
reload_cursor(m_drag_cursor, "Drag");
reload_cursor(m_wait_cursor, "Wait");
reload_cursor(m_crosshair_cursor, "Crosshair");
reload_cursor(m_eyedropper_cursor, "Eyedropper");
Compositor::the().invalidate_cursor();
m_config->write_entry("Mouse", "CursorTheme", theme_name);