jszczerbinsky / lwp

Multi-platform parallax wallpaper engine
MIT License
872 stars 12 forks source link

does not work with picom #57

Open rozhelluk opened 1 year ago

rozhelluk commented 1 year ago

Black screen when started with picom. i3, arch 6.2.7-arch1-1,
picom version: vgit-b700a picom without configuration

jszczerbinsky commented 1 year ago

Did You set reload_rootwindow to 1?

rozhelluk commented 1 year ago

;D image

d1wb commented 1 year ago

Similar problem with the same system

jszczerbinsky commented 1 year ago

After doing some research I found out, that this is because i3wm just ignores _NET_WM_WINDOW_TYPE_DESKTOP atom instead of showing window like this below all other ones. There are some old issues about it along with some patches, that fix it, but as I understand, it won't be officially supported.

https://github.com/i3/i3/issues/903 https://github.com/i3/i3/pull/1828

You are probably wondering why lwp works fine when reload_rootwindow is equal to 0. That's because with this option disabled lwp doesn't create any window at all. It uses default root window to draw on it. Unfortunately compositors like picom also try to draw on root window and that's why you need to set reload_rootwindow to 1 when you use it.

I think the only possible solution is to use i3 with some patches, that supports _NET_WM_WINDOW_TYPE_DESKTOP, or try configuring lwp window with i3 config file to make it unfocusable and below other windows (I'm not sure if this is possible).

I'm leaving this issue open for now. If someone finds a way to fix it, he can paste it here.

XxnittanixX commented 1 year ago

i havent found anything killed picom in openbox