MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / wl_transform_to_string

Function wl_transform_to_string

src/core/output-layout.cpp:113–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113static std::string wl_transform_to_string(wl_output_transform transform)
114{
115 for (auto& it : output_transforms)
116 {
117 if (it.second == transform)
118 {
119 return it.first;
120 }
121 }
122
123 return "normal";
124}
125
126wlr_output_mode *find_matching_mode(wlr_output *output,
127 const wlr_output_mode& reference, bool exact_match = false)

Callers 1

apply_configurationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected