diff options
author | Richard Grenville <[email protected]> | 2013-03-30 11:46:32 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2013-03-30 12:27:27 +0800 |
commit | 3ad3ebae953c22ce4c3145431351a3192b2c70a4 (patch) | |
tree | 30084e6d2f4373ab0cff1a488d07f2083fcdd970 /common.h | |
parent | 47f7b4072200463557ff692d41bf621f6954604f (diff) | |
download | tdebase-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.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |