At 1244103837 time_t, Nathan Huesken wrote: > Good Idea! > If i just bind > print(client.focus.class) > to a key in my rc.lua, it gives me the correct client class. > But if I put a function in my modul, which simple does the same, then > the output is "nil".
So client.focus is ~= nil but client.focus.class is nil? Is there any other attribute like .id that you can get ? If you got .id you can then request information: xwininfo -id <id> -- Julien Danjou // ᐰ <jul...@danjou.info> http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // And thinking so much differently.
signature.asc
Description: Digital signature