From eb09b1873d731a0e7290334a832a76cb233f34a7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 19 May 2007 14:36:19 +0000 Subject: move focus_cycle_indicator into its own file --- openbox/frame.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/frame.c') diff --git a/openbox/frame.c b/openbox/frame.c index e1607f4e..f9c7e607 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -26,6 +26,7 @@ #include "framerender.h" #include "mainloop.h" #include "focus_cycle.h" +#include "focus_cycle_indicator.h" #include "moveresize.h" #include "screen.h" #include "render/theme.h" @@ -507,7 +508,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved, /* if this occurs while we are focus cycling, the indicator needs to match the changes */ if (focus_cycle_target == self->client) - focus_cycle_draw_indicator(); + focus_cycle_draw_indicator(self->client); } if (resized && (self->decorations & OB_FRAME_DECOR_TITLEBAR)) XResizeWindow(ob_display, self->label, self->label_width, -- cgit v1.2.3