]> Dogcows Code - chaz/openbox/blobdiff - openbox/dock.h
make menu event handling work more like how other events are handled, less special...
[chaz/openbox] / openbox / dock.h
index 48d6af49671223e13e69eed0a7364d2db1e16732..25e31c0b841851a21d2896f86eb4b68991b50b03 100644 (file)
@@ -39,10 +39,7 @@ struct _ObDock
     RrAppearance *a_frame;
 
     /* actual position (when not auto-hidden) */
-    gint x;
-    gint y;
-    gint w;
-    gint h;
+    Rect area;
 
     gboolean hidden;
 
@@ -50,8 +47,6 @@ struct _ObDock
 };
 
 struct _ObDockApp {
-    ObWindow obwin;
-
     gint ignore_unmaps;
 
     Window icon_win;
@@ -84,4 +79,6 @@ void dock_app_configure(ObDockApp *app, gint w, gint h);
 
 void dock_get_area(Rect *a);
 
+ObDockApp* dock_find_dockapp(Window xwin);
+
 #endif
This page took 0.022168 seconds and 4 git commands to generate.