From d38c835cefd6ab9d0d1fb82480a1695c76e0b452 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 9 Oct 2003 19:18:20 +0000 Subject: [PATCH] when the frame is adjusted while the focus_cycle_target is that frame's client, then redraw the indicator --- openbox/frame.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openbox/frame.c b/openbox/frame.c index 44ca9c4e..ec7464a1 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -24,6 +24,7 @@ #include "config.h" #include "framerender.h" #include "mainloop.h" +#include "focus.h" #include "moveresize.h" #include "render/theme.h" @@ -420,6 +421,11 @@ void frame_adjust_area(ObFrame *self, gboolean moved, PROP_SETA32(self->client->window, kde_net_wm_frame_strut, cardinal, vals, 4); } + + /* 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(); } } -- 2.39.2