summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2013-03-30 11:46:32 +0800
committerRichard Grenville <pyxlcy@gmail.com>2013-03-30 12:27:27 +0800
commit3ad3ebae953c22ce4c3145431351a3192b2c70a4 (patch)
tree30084e6d2f4373ab0cff1a488d07f2083fcdd970 /common.h
parent47f7b4072200463557ff692d41bf621f6954604f (diff)
downloadtdebase-3ad3ebae953c22ce4c3145431351a3192b2c70a4.tar.gz
tdebase-3ad3ebae953c22ce4c3145431351a3192b2c70a4.zip
Feature #4: Default active window opacity
- Add default active window opacity (--active-opacity). (#4) - Add win_focusin and win_focusout D-Bus signals.
Diffstat (limited to 'common.h')
-rw-r--r--common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/common.h b/common.h
index e2af50f08..a3435d430 100644
--- a/common.h
+++ b/common.h
@@ -424,6 +424,8 @@ typedef struct {
/// 32-bit integer with the format of _NET_WM_OPACITY. 0 stands for
/// not enabled, default.
opacity_t inactive_opacity;
+ /// Default opacity for inactive windows.
+ opacity_t active_opacity;
/// Whether inactive_opacity overrides the opacity set by window
/// attributes.
bool inactive_opacity_override;
@@ -1711,6 +1713,12 @@ cdbus_ev_win_mapped(session_t *ps, win *w);
void
cdbus_ev_win_unmapped(session_t *ps, win *w);
+
+void
+cdbus_ev_win_focusout(session_t *ps, win *w);
+
+void
+cdbus_ev_win_focusin(session_t *ps, win *w);
//!@}
/** @name DBus hooks