summaryrefslogtreecommitdiffstats
path: root/compton.h
diff options
context:
space:
mode:
authorRichard Grenville <[email protected]>2013-01-13 13:44:05 +0800
committerRichard Grenville <[email protected]>2013-01-13 13:44:05 +0800
commita5dc829944175cab684e5b4488ddff409f308099 (patch)
treeacf639b5d87f4b6c5dca41fbed624df0c575a1d2 /compton.h
parentf0521b2d41e3c3439e733e288c8d8e8a92b3884b (diff)
downloadtdebase-a5dc829944175cab684e5b4488ddff409f308099.tar.gz
tdebase-a5dc829944175cab684e5b4488ddff409f308099.zip
Bug fix #75: --invert-color-include not working & others
- Fix a small bug that breaks --invert-color-include if no other blacklists are present. Thanks to MaskRay and xiaq for reporting. - Disable --unredir-if-possible for multi-screen setups. - Fix a bug that causes --no-fading-openclose to have no effect in some cases. Add w->in_openclose to keep track of window open/close state.
Diffstat (limited to 'compton.h')
-rw-r--r--compton.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/compton.h b/compton.h
index f58711a2a..2154f865b 100644
--- a/compton.h
+++ b/compton.h
@@ -667,16 +667,18 @@ typedef struct _win {
/// opacity state, window geometry, window mapped/unmapped state,
/// window mode, of this and all higher windows.
XserverRegion reg_ignore;
- /// Whether the window has been destroyed.
- bool destroyed;
/// Cached width/height of the window including border.
int widthb, heightb;
+ /// Whether the window has been destroyed.
+ bool destroyed;
/// Whether the window is bounding-shaped.
bool bounding_shaped;
/// Whether the window just have rounded corners.
bool rounded_corners;
/// Whether this window is to be painted.
bool to_paint;
+ /// Whether this window is in open/close state.
+ bool in_openclose;
// Client window related members
/// ID of the top-level client window of the window.