mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
dbus: log resets
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
159a45b9e9
commit
8dae86a8cf
1 changed files with 1 additions and 0 deletions
|
@ -1228,6 +1228,7 @@ cdbus_process(DBusConnection *c attr_unused, DBusMessage *msg, void *ud) {
|
|||
dbus_message_is_method_call(msg, CDBUS_INTERFACE_NAME, method)
|
||||
|
||||
if (cdbus_m_ismethod("reset")) {
|
||||
log_info("compton is resetting...");
|
||||
ev_break(ps->loop, EVBREAK_ALL);
|
||||
if (!dbus_message_get_no_reply(msg))
|
||||
cdbus_reply_bool(ps, msg, true);
|
||||
|
|
Loading…
Reference in a new issue