]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.h
add (optional) support for showing a busy cursor via startup notification
[chaz/openbox] / openbox / client.h
index faa04e63c2d2346ebe89b286da88ca5736fb1c12..08a3a887361d4fe6bbb4201b395acd7a86acdbc8 100644 (file)
@@ -110,6 +110,8 @@ typedef enum {
 
 
 typedef struct Client {
+    ObWindow obwin;
+
     Window  window;
 
     /*! The window's decorations. NULL while the window is being managed! */
@@ -292,7 +294,6 @@ typedef struct Client {
 } Client;
 
 extern GList *client_list;
-extern GHashTable *client_map;
 
 void client_startup();
 void client_shutdown();
@@ -427,6 +428,10 @@ gboolean client_focus(Client *self);
 /*! Remove focus from the client window */
 void client_unfocus(Client *self);
 
+/*! Activates the client for use, focusing, uniconifying it, etc. To be used
+  when the user deliberately selects a window for use. */
+void client_activate(Client *self);
+
 /*! Calculates the stacking layer for the client window */
 void client_calc_layer(Client *self);
 
This page took 0.022081 seconds and 4 git commands to generate.