summaryrefslogtreecommitdiffstats
path: root/compton.h
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2012-09-26 21:40:48 +0800
committerRichard Grenville <pyxlcy@gmail.com>2012-09-26 21:47:32 +0800
commit280bc0fc324953e8d2cc14f13e282393a797e4e0 (patch)
tree4df3178bebe2c969769cc494216e61f5e5bd5b55 /compton.h
parent10ede8999852630fd375f3eb11e501f0e60eee4e (diff)
downloadtdebase-280bc0fc324953e8d2cc14f13e282393a797e4e0.tar.gz
tdebase-280bc0fc324953e8d2cc14f13e282393a797e4e0.zip
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.
Diffstat (limited to 'compton.h')
-rw-r--r--compton.h5
1 files changed, 4 insertions, 1 deletions
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;
@@ -726,6 +726,9 @@ map_win(Display *dpy, Window id,
Bool override_redirect);
static void
+finish_map_win(Display *dpy, win *w);
+
+static void
finish_unmap_win(Display *dpy, win *w);
#if HAS_NAME_WINDOW_PIXMAP