With the last improvements in compositor I get an ugly desktop when I leave a fullscreen game. Start xmoto for example, play a game, quit. Same with armagetron (play it :>)...
Drop-shadows will most of the time look black and moving a window all over the black or changing the workspace will, fortunately, redraw the content.
My guess would be to "redraw something" (/me knows nothing about wm :) after coming back from an "unredirected fullscreen override" window.
Created attachment 610
Should be fixed with rev. 22143; can you try?
It's working. But now there is a bug with some panel plugins which are drawn opaque (systray, orage clock, clipman, system/net load, verve, ... sounds like external plugins only). Mouse over the panel when it changes its opacity or right click on the plugins helps to get them back transparent.
I don't think we can fix that.
It's better than none synced displays, so, we should just change the resolution to fixed.
Created attachment 640
After exiting an SDL full-screen program...
I'm seeing something similar to this, but triggered by changeset 22143: the upper left area of the display (of a size which matches that of the recently-left screen mode) has correct transparency. Much, but by no means all, of the rest has none whatsoever - at least, in window content; frames are correctly rendered. This is transient, with correction occurring on redraw.
AFAICS, only SDL-based programs trigger this, but those which I've tried don't represent a good sample. (enigma will trigger it.)
Restoring the !WIN_IS_REDIRECTED check in fix_region() partially works: but two of three xfce4-panel windows become invisible, and tests with a third (framed) window - I picked a settings manager window - show that windows which are outside the upper left area become temporarily invisible.
Problem comes from games that render fullscreen *while* changing the screen size (typically games).
I don't see this with the latest builds though.