ui: always set the frame background to None

Desktop / GNOME / Mutter - Giovanni Campagna [src.gnome.org] - 31 July 2014 10:54 UTC

This way the xserver never paints the frame background, even if the client window is destroyed. This allows us to have clean destroy window animation.

There is no problem with interactive resizing because applications are using the XSync protocol, so we're not painting unless the client has redrawn.

https://bugzilla.gnome.org/show_bug.cgi?id=734054

d0f2c6b ui: always set the frame background to None
src/core/frame.c | 13 -------
src/ui/frames.c | 102 ------------------------------------------------------
src/ui/frames.h | 7 ----
src/ui/ui.c | 29 +++++++---------
src/ui/ui.h | 7 ----
5 files changed, 12 insertions(+), 146 deletions(-)

Upstream: git.gnome.org


  • Share