Hello,
I'm trying to configure window transparent this way:
client.add_signal('focus', function(c)
c.border_color = beautiful.border_focus
c.opacity = 0.9
end)
client.add_signal('unfocus', function(c)
c.border_color = beautiful.border_normal
c.opacity = 0.5
end)
awful.util.spawn('xcompmgr -c -F')
This works very well, when I switching windows or tags, then focused
window always get opacity 0.9 and unfocused windows always get opacity
0.5.
Then I add -f option to the code spawn xcommgr, which will cause
windows fade in/out when opening/closing.
Now switching windows in a same tag works as before, but switching
tags may cause focused window not get opacity 0.9.
I guess that because after switched to a new tag, the focused window
in that tag need to be opened (because it closed or hidden when it's
tag deselected) first (that will cause compmgr fade in it), then the
focus signal be emitted. So what the above code doing is setting
opacity on a client/window which is fading.
Am I right? I've tried many methods to avoid or workaround it, but
with no luck. Any suggestions?
--
Rainux
--
To unsubscribe, send mail to [email protected].