summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/focus_cycle_indicator.c8
-rw-r--r--openbox/window.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/openbox/focus_cycle_indicator.c b/openbox/focus_cycle_indicator.c
index da5efa56..495a7230 100644
--- a/openbox/focus_cycle_indicator.c
+++ b/openbox/focus_cycle_indicator.c
@@ -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);
diff --git a/openbox/window.h b/openbox/window.h
index c7bfc895..cc380d34 100644
--- a/openbox/window.h
+++ b/openbox/window.h
@@ -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;
};