From 280bc0fc324953e8d2cc14f13e282393a797e4e0 Mon Sep 17 00:00:00 2001 From: Richard Grenville Date: Wed, 26 Sep 2012 21:40:48 +0800 Subject: Feature: --no-fading-openclose to partially simulate -F -F hasn't being working for long. This commit adds a switch --no-fading-openclose (and a configuration file option of the same name) to simulate the behavior when only -F is enabled, which disables fading when opening/closing windows, and makes -F an alias for -f. --- compton.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'compton.h') diff --git a/compton.h b/compton.h index f785981e9..0c6457c62 100644 --- a/compton.h +++ b/compton.h @@ -270,7 +270,7 @@ typedef struct _options { /// How much to fade out in a single fading step. opacity_t fade_out_step; unsigned long fade_delta; - Bool fade_trans; + Bool no_fading_openclose; /// Fading blacklist. A linked list of conditions. wincond *fade_blacklist; @@ -725,6 +725,9 @@ map_win(Display *dpy, Window id, unsigned long sequence, Bool fade, Bool override_redirect); +static void +finish_map_win(Display *dpy, win *w); + static void finish_unmap_win(Display *dpy, win *w); -- cgit v1.2.1