mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-20 09:35:38 +02:00
Merge branch 'module_mpris_bugix' into module_mpris_client_sync_on_startup
This commit is contained in:
commit
39d37b38e6
2 changed files with 15 additions and 8 deletions
|
@ -4,7 +4,6 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <systemd/sd-bus-protocol.h>
|
||||
#include <threads.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
@ -100,8 +99,8 @@ struct private
|
|||
int refresh_abort_fd;
|
||||
|
||||
size_t timeout_ms;
|
||||
string_array identity_list;
|
||||
struct context context;
|
||||
string_array identity_list;
|
||||
struct particle *label;
|
||||
};
|
||||
|
||||
|
@ -754,6 +753,8 @@ context_setup(struct context *context)
|
|||
LOG_INFO("Selecting last registered client: %s", context->current_client->bus_name);
|
||||
}
|
||||
|
||||
context->monitor_connection = connection;
|
||||
|
||||
/* Turn this connection into a monitor */
|
||||
sd_bus_message *message = NULL;
|
||||
status = sd_bus_message_new_method_call(connection, &message, DBUS_SERVICE, DBUS_PATH, DBUS_INTERFACE_MONITORING,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue