mirror of
https://github.com/polybar/polybar.git
synced 2026-02-25 01:05:43 +00:00
refactor(ipc): Rename signals
This commit is contained in:
@ -80,11 +80,11 @@ namespace modules {
|
||||
* configured from the user config and
|
||||
* execute its command
|
||||
*/
|
||||
void ipc_module::on_message(const ipc_hook& message) {
|
||||
void ipc_module::on_message(const string& message) {
|
||||
bool match = false;
|
||||
|
||||
for (auto&& hook : m_hooks) {
|
||||
if (ipc_hook::prefix + hook->payload != message.payload) {
|
||||
if (hook->payload != message) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user