#include "openbox.h"
#include "frame.h"
#include "event.h"
-#include "render/render.h"
+#include "obrender/render.h"
#include <X11/Xlib.h>
#include <glib.h>
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);
XDestroyWindow(obt_display, focus_indicator.bottom.window);
}
+void focus_cycle_update_indicator(ObClient *c)
+{
+ if (visible)
+ focus_cycle_draw_indicator(c);
+}
+
void focus_cycle_draw_indicator(ObClient *c)
{
if (!c && visible) {