MCPcopy Create free account
hub / github.com/Alexays/Waybar / handleMonitorAdded

Method handleMonitorAdded

src/client.cpp:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void waybar::Client::handleMonitorAdded(Glib::RefPtr<Gdk::Monitor> monitor) {
120 auto& output = outputs_.emplace_back();
121 output.monitor = std::move(monitor);
122 handleOutput(output);
123}
124
125void waybar::Client::handleMonitorRemoved(Glib::RefPtr<Gdk::Monitor> monitor) {
126 spdlog::debug("Output removed: {} {}", monitor->get_manufacturer().c_str(),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected