Skip to content

x11: Do not discard shape region for undecorated windows

Olivier Fourdan requested to merge ofourdan/mutter:issue27 into master

mutter would discard the shape region set by the client if its matches the entire client area in meta_window_x11_update_shape_region().

However, if the window is later resized (maximized or other), the compositor will fail to update the shape region properly for undecorated windows because the shape region was discarded, which causes black areas to appear in place of the updated areas.

If the client window is undecorated, keep the shape region even if when it matches the client area.

#27 (closed)

Closes: #27 (closed)

Merge request reports