mirror of https://github.com/yshui/picom.git
dbus: fix win_get with "id"
The target name got changed to "base.id" by accident. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
c3fb9ef017
commit
b4e0e6128c
|
@ -761,7 +761,10 @@ static bool cdbus_process_win_get(session_t *ps, DBusMessage *msg) {
|
|||
return true; \
|
||||
}
|
||||
|
||||
cdbus_m_win_get_do(base.id, cdbus_reply_wid);
|
||||
if (!strcmp(target, "id")) {
|
||||
cdbus_reply_wid(ps, msg, w->base.id);
|
||||
return true;
|
||||
}
|
||||
|
||||
// next
|
||||
if (!strcmp("next", target)) {
|
||||
|
|
Loading…
Reference in New Issue