diff options
Diffstat (limited to 'compton.h')
-rw-r--r-- | compton.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -325,6 +325,14 @@ ms_to_tv(int timeout) { } /** + * Whether an event is DamageNotify. + */ +static inline bool +isdamagenotify(session_t *ps, const XEvent *ev) { + return ps->damage_event + XDamageNotify == ev->type; +} + +/** * Create a XTextProperty of a single string. */ static inline XTextProperty * @@ -1206,6 +1214,9 @@ static void timeout_clear(session_t *ps); static bool +tmout_unredir_callback(session_t *ps, timeout_t *tmout); + +static bool mainloop(session_t *ps); #ifdef CONFIG_XINERAMA |