X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=openbox%2Fclient.h;h=69f5aa5fd65f0311cc0eadf673fb2ac22b447066;hb=23a43c5a403785bd9b408da00bc89dc9c1f141d7;hp=e9a13041098204c943075e320f0ce9044e8630b6;hpb=7ae95e46606a1fa22e302fd2c1ea99cb23acbd81;p=chaz%2Fopenbox 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 */