The most usable approach would indeed be to set the terminal name (for example to mocp_float) and to add a floatapps entry for it. On the other hand, if you don't want to clutter your floatapps, you could set some global variable to true before spawning the xterm. Then check in your manage hook if that variable is true and if so, set the managed client floating and the variable to false (i.e. something like float_next_client or something). The first approach is much more sane and error-proof though.
--
GCS/IT/M d- s+:- a-- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- ?O M-- ?V PS++ PE- Y++ PGP+++ t+ 5 X+ R tv b+++ DI+++
D+++ G+ e h! r y+
Gregor Best
pgpBeFu6m8aTW.pgp
Description: PGP signature
