| 91 | } |
| 92 | |
| 93 | void waybar::Client::handleOutputName(void* data, struct zxdg_output_v1* /*xdg_output*/, |
| 94 | const char* name) { |
| 95 | auto* client = waybar::Client::inst(); |
| 96 | try { |
| 97 | auto& output = client->getOutput(data); |
| 98 | output.name = name; |
| 99 | } catch (const std::exception& e) { |
| 100 | spdlog::warn("caught exception in zxdg_output_v1_listener::name: {}", e.what()); |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | void waybar::Client::handleOutputDescription(void* data, struct zxdg_output_v1* /*xdg_output*/, |
| 105 | const char* description) { |
nothing calls this directly
no outgoing calls
no test coverage detected