chjj / compton

A compositor for X11.
Other
2.25k stars 500 forks source link

Fluxbox Toolbar Refuses to fade #461

Open slackhead opened 7 years ago

slackhead commented 7 years ago

Platform: Slackware 14.2 64bit GPU, drivers, and screen setup: Intel i915, ext monitor, running fluxbox from git. Compton version: git-v0.1_beta2-87-g316eac0-2017-04-30 Compton configuration: http://ix.io/Ce9

Steps of reproduction

Set fluxbox toolbar to autohide, or use a key to toglle it.

Expected behavior

Toolbar should fade in and out when I toggle it.

Current Behavior & Other details

Fluxbox toolbar is set hidden until I press a key to toggle it. When I press the key, compton doesn't fade it.

I have tried looking at the properties with xprop and noticed that it's WM_WINDOW_ROLE was set to 'fluxbox-toolbar'

I tried changing that to just 'toolbar', but there was no change.

xprop only lists two values: _NET_WM_WINDOW_OPACITY(CARDINAL) = 4294967295 WM_WINDOW_ROLE(STRING) = "fluxbox-toolbar"

Is there something I can add that would make compton detect it?

slackhead commented 7 years ago

Well I manged to make it recognised by adding _NET_WM_WINDOW_TYPE_TOOLBAR to _NET_WM_WINDOW_TYPE

I can change the transparency but it still won't fade.

wintypes :· { toolbar :· { fade = true; shadow = false; opacity = 1; focus = true; };
};

This seems to have no effect in fading.