if (reconfig) return;
- 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;
+ focus_indicator.top.super.type = OB_WINDOW_CLASS_INTERNAL;
+ focus_indicator.left.super.type = OB_WINDOW_CLASS_INTERNAL;
+ focus_indicator.right.super.type = OB_WINDOW_CLASS_INTERNAL;
+ focus_indicator.bottom.super.type = OB_WINDOW_CLASS_INTERNAL;
attr.override_redirect = True;
attr.background_pixel = BlackPixel(obt_display, ob_screen);
self->data = data;
self->default_result = default_result;
self->cancel_result = cancel_result;
- self->super.type = OB_WINDOW_CLASS_PROMPT;
+ self->super.super.type = OB_WINDOW_CLASS_PROMPT;
self->super.window = XCreateWindow(obt_display, obt_root(ob_screen),
0, 0, 1, 1, 0,
CopyFromParent, InputOutput,