From 0d821ca7744a36d8309b3698e567e2b4cec4fcee Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Thu, 31 Jul 2014 17:41:39 +0200 Subject: ui: always set the frame background to None 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 origin commit: https://gitlab.gnome.org/GNOME/metacity/commit/78c283c --- src/ui/frames.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/ui/frames.h') diff --git a/src/ui/frames.h b/src/ui/frames.h index 8124a927..736c37ca 100644 --- a/src/ui/frames.h +++ b/src/ui/frames.h @@ -132,13 +132,6 @@ void meta_frames_get_geometry (MetaFrames *frames, int *top_height, int *bottom_height, int *left_width, int *right_width); -void meta_frames_reset_bg (MetaFrames *frames, - Window xwindow); -void meta_frames_unflicker_bg (MetaFrames *frames, - Window xwindow, - int target_width, - int target_height); - void meta_frames_apply_shapes (MetaFrames *frames, Window xwindow, int new_window_width, -- cgit v1.2.1