chjj / compton

A compositor for X11.
Other
2.24k stars 501 forks source link

Not playing well with conky if "own_window" is turned off in .conkyrc #21

Open richardgv opened 12 years ago

richardgv commented 12 years ago

The problem also appears in xcompmgr and unagi, so I just quoted my bug report on unagi bug tracker. I did replace all occurrences of unagi with compton, though.

If compton is started, and I have "double_buffer" turned on and "own_window" turned off in .conkyrc, all windows vanish when conky updates its graphs; If I turn off both "double_buffer" and "own_window", conky does not get rendered correctly, sometimes the graphs and numbers conky drawn appear on the top of all windows, sometimes new graphs overlaps on the old graphs. Turning "own_window" on in .conkyrc fixes it. So essentially if conky tries to draw on the root window when compton is on, weird things start happening. At first I thought it was a conflict related to fvwm, yet eventually found it's conky.

It's probably not an issue of compton itself, though, because xcompmgr has the same problem with its default compositing mode. I prefer to run conky with "own_window" turned off since then I could open fvwm's root menu when clicking on conky.

chjj commented 12 years ago

Hmm, turning own_window off is known to cause a lot of problems. Potentially sharing the root window with multiple programs is bound to break something. I'll see if I can do anything about it though.

richardgv commented 11 years ago

Maybe XCompositeGetOverlayWindow() added in X composite extension 0.3 could be used to solve the conflict between conky and compton. Do you see any potential issues that could appear if compton paints on the X Composite overlay window instead of on root window?

Also, do you think it would be possible if we unredirect all windows (basically let compton stop working) if we find a full-screen window on the top of the stack that has no frame, to maximize the performance of full screen applications like games, video players?

rodyaj commented 11 years ago

I'm also having this issue and would like to see a fix. I have certain things such as sound volume sliders in movie players that I can't click if conky has its own window.

richardgv commented 11 years ago

@rodyaj:

I'm also having this issue and would like to see a fix. I have certain things such as sound volume sliders in movie players that I can't click if conky has its own window.

Sorry? This issue is about screen corruption when conky doesn't use its own window but paint to the root window, yet seemingly you are talking about a different issue. Could you please describe your problem more clearly?