make the internal window type more easily inheritable

This commit is contained in:
Dana Jansens 2008-02-06 19:40:21 -05:00
parent 5f04ca85ef
commit a0a9b0334b
2 changed files with 5 additions and 5 deletions

View 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);

View 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;
};