1
0
Fork 0
forked from wry/wry

cli: add commands to inspect clients

This commit is contained in:
Julian Orth 2025-05-06 18:12:57 +02:00
parent 5e3465d861
commit bd04b09171
12 changed files with 557 additions and 16 deletions

View file

@ -2,7 +2,7 @@ use {
crate::{
client::{Client, ClientError},
ifs::{
jay_toplevel::{ID_SINCE, JayToplevel},
jay_toplevel::{CLIENT_ID_SINCE, ID_SINCE, JayToplevel},
wl_seat::ToplevelSelector,
},
leaks::Tracker,
@ -78,6 +78,9 @@ impl JaySelectToplevel {
self.send_done(jtl.id);
if jtl.version >= ID_SINCE {
jtl.send_id();
if jtl.version >= CLIENT_ID_SINCE {
jtl.send_client_id();
}
jtl.send_done();
}
}