Open ExtraTNT opened 4 years ago
Picom is also another manager that interferes with paperview.
As for the root window:
static Video Setup(void)
{
Video self;
self.x11d = XOpenDisplay(NULL);
const Window x11w = RootWindow(self.x11d, DefaultScreen(self.x11d));
SDL_Init(SDL_INIT_VIDEO);
self.window = SDL_CreateWindowFrom((void*) x11w);
self.renderer = SDL_CreateRenderer(self.window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC);
return self;
}
An SDL_Renderer is created from an X11 Root Window. Sadly, it is beyond me why Picom and Compton do not work with paperview.
the script i had just changed the wallpaper every few ms with feh... you can ev find a solution there...
Have anyone found a solution for this?
I am running paperview and when I launch picom it just disables the animated wallpaper paperview created...
first of all, the project is really nice, works even in a vm without problems... but... it does not work while compton is running. since it hasn't commented anything in the code, i haven't figured out how it works... (well, i'm probably not very good in c...) but i guess that it does not draw on the rootwindow... if it would draw directly to the rootwindow it should work (I had a script which did exactly that and it worked -> but cpu on fire)
(i'm probably not very good in english to..., sry 4 that... xD)
my test-setup:
vm with 8gb ram and 16 threads (r9 3900x)
debian 10.5.0
linux 4.19.0-10
i3wm 4.16.1
compton 0.1~beta2+20150922
(wallpaper set with feh -> survives paperview)
make 4.2.1
xorg 1:7.7+19