1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-04-14 17:53:25 -04:00

dbus: list list_win in introspect string

We can't list the other methods, list win_set/get, because they have a
"dynamic" method signature. It's a very not nice thing to do.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2024-03-23 18:53:31 +00:00
parent a9ac03df44
commit d22d2f5b5e
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4

View file

@ -1039,6 +1039,9 @@ static DBusHandlerResult cdbus_process_introspect(DBusMessage *reply) {
" </signal>\n"
" <method name='reset' />\n"
" <method name='repaint' />\n"
" <method name='list_win'>\n"
" <arg name='wids' type='au' direction='out' />\n"
" </method>\n"
" </interface>\n"
" <interface name='" PICOM_COMPOSITOR_INTERFACE "'>\n"
" <signal name='WinAdded'>\n"