How can I get a xid of a focused window? Like with xprop, but without user interaction. Say, I want to write an program that would log the xid of a currently focused window every second.
Sincerely, s.
How can I get a xid of a focused window? Like with xprop, but without user interaction. Say, I want to write an program that would log the xid of a currently focused window every second.
Sincerely, s.