Hi,

i think it would be a good idea to match a winprop structure
against a window's name as well (in addition to class/instance/role).
I have some applications which set class/instance the same for all windows (not to 
speak about the role ...), so i can't distinct them for window placement.

As a quick hack i re-defined the role to the name by changing 
clientwin_get_ident():

/*wrole=get_string_property(cwin->win, wglobal.atom_wm_window_role, &n2);*/
wrole=get_string_property(cwin->win, XA_WM_NAME, &n2);

While this works fine, i'd also like to allow regular expression matches ...

I think for someone familiar with lua this should be trivial. My
first attempt resulted in a core dump ...

Regards,

Felix.

Reply via email to