From ad852b6b56e43bdd7dda1389f54051cf92c0fad9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Apr 2007 06:30:16 +0000 Subject: add support for _NET_WM_SYNC_REQUEST --- openbox/client.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'openbox/client.h') diff --git a/openbox/client.h b/openbox/client.h index e9a13041..69f5aa5f 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -219,6 +219,15 @@ struct _ObClient /*! Notify the window when it receives focus? */ gboolean focus_notify; +#ifdef SYNC + /*! The client wants to sync during resizes */ + gboolean sync_request; + /*! The XSync counter used for synchronizing during resizes */ + guint32 sync_counter; + /*! The value we're waiting for the counter to reach */ + gulong sync_counter_value; +#endif + /*! The window uses shape extension to be non-rectangular? */ gboolean shaped; @@ -546,6 +555,10 @@ void client_update_transient_for(ObClient *self); /*! Update the protocols that the window supports and adjusts things if they change */ void client_update_protocols(ObClient *self); +#ifdef SYNC +/*! Updates the window's sync request counter for resizes */ +void client_update_sync_request_counter(ObClient *self); +#endif /*! Updates the window's colormap */ void client_update_colormap(ObClient *self, Colormap colormap); /*! Updates the WMNormalHints and adjusts things if they change */ -- cgit v1.2.3