Is it possible to make a decal not being displayed on specific material? For example: Windows [Image included]

Hello everyone,

I’m trying to use some decals on walls but I came across this problem. As it can be seen from the image, the decal is applied on the window material. Is it possible to make a decal not being displayed on specific material? By the way, the window material is not translucent.