Ah, perhaps the file in question is the following one? cairo-dock-user-interaction.c
Also, I've discovered a rather simple workaround. To wit: in the Cairo GUI, under Behaviour -> Behaviour (sic), add 'nemo' to 'Except the following classes'. This will create new Nemo icon for every (visible!) Nemo window.
Ah, perhaps the file in question is the following one? cairo-dock- user-interactio n.c
Also, I've discovered a rather simple workaround. To wit: in the Cairo GUI, under Behaviour -> Behaviour (sic), add 'nemo' to 'Except the following classes'. This will create new Nemo icon for every (visible!) Nemo window.