-typedef union {
- EventData_X x; /* for Event_X_* event types */
- Client *client; /* for Event_Client_* event types */
+typedef struct {
+ struct _ObClient *client;
+ int num[3];
+ /* Event_Client_Desktop: num[0] = new number, num[1] = old number
+ Event_Client_Urgent: num[0] = urgent state
+ Event_Client_Moving: num[0] = dest x coord, num[1] = dest y coord --
+ change these in the handler to adjust where the
+ window will be placed
+ Event_Client_Resizing: num[0] = dest width, num[1] = dest height --
+ change these in the handler to adjust where the
+ window will be placed
+ num[2] = the anchored corner
+ */
+} EventData_Client;
+
+typedef struct {
+ int num[2];
+ /* Event_Ob_Desktop: num[0] = new number, num[1] = old number
+ Event_Ob_NumDesktops: num[0] = new number, num[1] = old number
+ Event_Ob_ShowDesktop: num[0] = new show-desktop mode
+ */
+} EventData_Ob;
+
+typedef struct {