BurntSushi / wingo

A fully-featured window manager written in Go.
Do What The F*ck You Want To Public License
1k stars 90 forks source link

xcompmgr and windows focus on desktop switch #20

Closed alxzh closed 12 years ago

alxzh commented 12 years ago

I use xcompmgr with options "-c -f -F -D7" and several virtual desktops all tailed mode. When I switch between virtual desktops focused window (focused for wingo because this window has colored border) remain transparent. But if I open some other window in this desktop and focus switches from previous window in new window - new window displays OK (it isn't transparent).

I "fixed" this with removing "-f -F" options with this cost fading for me on desktop switch.

BurntSushi commented 12 years ago

From what I can surmise, this is a bug in xcompmgr. I suspect that while xcompmgr is fading the windows in and out when you switch workspaces, it ignores the update to _NET_WM_WINDOW_OPACITY by Wingo when the active window is updated. I was able to reproduce this in Openbox as well.

The fix is to use something better than xcompmgr. I found a fork of it called compton. Whatever bug in xcompmgr that was provoking this behavior has been fixed.