diff options
Diffstat (limited to 'openbox/client.h')
| -rw-r--r-- | openbox/client.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 */ |
