From: Dana Jansens Date: Thu, 7 Feb 2008 00:40:21 +0000 (-0500) Subject: make the internal window type more easily inheritable X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=a0a9b0334b32e205da994b0395af1b544888a5dd;p=chaz%2Fopenbox make the internal window type more easily inheritable --- 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; };