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

WindowServer: Try to auto-add unconfigured framebuffer devices

This will try to auto-add framebuffer devices that haven't been
explicitly configured to the right-hand side.
This commit is contained in:
Tom 2021-06-26 13:20:41 -06:00 committed by Andreas Kling
parent 38af4c29e6
commit a9906cfcd1
3 changed files with 93 additions and 1 deletions

View file

@ -38,6 +38,7 @@ public:
void normalize();
bool load_config(const Core::ConfigFile& config_file, String* error_msg = nullptr);
bool save_config(Core::ConfigFile& config_file, bool sync = true) const;
bool try_auto_add_framebuffer(String const&);
// TODO: spaceship operator
bool operator!=(const ScreenLayout& other) const;