From a0a9b0334b32e205da994b0395af1b544888a5dd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 6 Feb 2008 19:40:21 -0500 Subject: [PATCH] make the internal window type more easily inheritable --- openbox/focus_cycle_indicator.c | 8 ++++---- openbox/window.h | 2 +- 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; }; -- 2.45.2