• Olivier Fourdan's avatar
    compositor: Skip windows not visible to the compositor · 2fb3db76
    Olivier Fourdan authored
    The compositor will automatically unredirect the top most window which
    is fully visible on screen. When unredirecting windows, it also shapes
    the compositor overlay window (COW) so that other redirected windows
    still shows correctly.
    
    The function `get_top_visible_window_actor()` however will simply walks
    down the window list, so if a window is placed on a layer above and
    unredirected, then iconified by the client, it will still be picked up
    by `get_top_visible_window_actor()` and he compositor will reckon it's
    still unredirected while not in a visible state anymore, thus leaving a
    black area on screen.
    
    Make sure we skip the windows not known to the compositor while picking
    the top visible window actor to avoid this issue.
    
    Closes: #306
    2fb3db76
Name
Last commit
Last update
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...