Skip to content

Commit

Permalink
Fixing some minor line alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkae committed Oct 17, 2023
1 parent 95c8626 commit 3807b55
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/miral/static_display_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ class YamlFileDisplayConfig : public mir::graphics::DisplayConfigurationPolicy

void add_output_attribute(std::string const& key);

static void apply_default_configuration(mir::graphics::DisplayConfiguration& conf);
static void serialize_configuration(std::ostream& out, mir::graphics::DisplayConfiguration& conf);
static void serialize_output_configuration(std::ostream& out, mir::graphics::UserDisplayConfigurationOutput const& conf_output);

static void apply_default_configuration(mir::graphics::DisplayConfiguration& conf);
private:
std::mutex mutable mutex;
std::string layout = "default";
Expand All @@ -78,6 +78,9 @@ class YamlFileDisplayConfig : public mir::graphics::DisplayConfigurationPolicy
std::set<std::string> custom_output_attributes;

static void apply_to_output(mir::graphics::UserDisplayConfigurationOutput& conf_output, Config const& conf);

static void serialize_output_configuration(
std::ostream& out, mir::graphics::UserDisplayConfigurationOutput const& conf_output);
};

class ReloadingYamlFileDisplayConfig : public YamlFileDisplayConfig
Expand All @@ -91,10 +94,10 @@ class ReloadingYamlFileDisplayConfig : public YamlFileDisplayConfig

void config_path(std::string newpath);

void check_for_layout_override();

void confirm(mir::graphics::DisplayConfiguration& conf) override;

void check_for_layout_override();

private:
auto the_main_loop() const -> std::shared_ptr<mir::MainLoop>;

Expand Down

0 comments on commit 3807b55

Please sign in to comment.