]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.h
add support for _NET_WM_SYNC_REQUEST
[chaz/openbox] / openbox / client.h
index e9a13041098204c943075e320f0ce9044e8630b6..69f5aa5fd65f0311cc0eadf673fb2ac22b447066 100644 (file)
@@ -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 */
This page took 0.022488 seconds and 4 git commands to generate.