1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 14:57:34 +00:00

Demos+LibDesktop: Centralize screensaver logic

We have 3 demos with pretty similar window logic and quitting behavior
on user activity, so centralize that into `Desktop::Screensaver`.
This commit is contained in:
Jelle Raaijmakers 2022-12-27 00:40:39 +01:00 committed by Andreas Kling
parent 379e4a2432
commit 18b6bdb563
11 changed files with 108 additions and 99 deletions

View file

@ -1,6 +1,7 @@
set(SOURCES
AppFile.cpp
Launcher.cpp
Screensaver.cpp
)
set(GENERATED_SOURCES
@ -9,4 +10,4 @@ set(GENERATED_SOURCES
)
serenity_lib(LibDesktop desktop)
target_link_libraries(LibDesktop PRIVATE LibCore LibIPC LibGUI)
target_link_libraries(LibDesktop PRIVATE LibCore LibIPC LibGfx LibGUI)