make the internal window type more easily inheritable
authorDana Jansens <danakj@orodu.net>
Thu, 7 Feb 2008 00:40:21 +0000 (19:40 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 7 Feb 2008 07:14:43 +0000 (02:14 -0500)
openbox/focus_cycle_indicator.c
openbox/window.h

index da5efa5..495a723 100644 (file)
@@ -59,10 +59,10 @@ void focus_cycle_indicator_startup(gboolean reconfig)
 
     if (reconfig) return;
 
-    focus_indicator.top.obwin.type = OB_WINDOW_CLASS_INTERNAL;
-    focus_indicator.left.obwin.type = OB_WINDOW_CLASS_INTERNAL;
-    focus_indicator.right.obwin.type = OB_WINDOW_CLASS_INTERNAL;
-    focus_indicator.bottom.obwin.type = OB_WINDOW_CLASS_INTERNAL;
+    focus_indicator.top.type = OB_WINDOW_CLASS_INTERNAL;
+    focus_indicator.left.type = OB_WINDOW_CLASS_INTERNAL;
+    focus_indicator.right.type = OB_WINDOW_CLASS_INTERNAL;
+    focus_indicator.bottom.type = OB_WINDOW_CLASS_INTERNAL;
 
     attr.override_redirect = True;
     attr.background_pixel = BlackPixel(obt_display, ob_screen);
index c7bfc89..cc380d3 100644 (file)
@@ -76,7 +76,7 @@ void      window_remove(Window xwin);
 
 /* Internal openbox-owned windows like the alt-tab popup */
 struct _ObInternalWindow {
-    ObWindow obwin;
+    ObWindowClass type;
     Window window;
 };