From: Dana Jansens Date: Thu, 9 Oct 2003 19:18:20 +0000 (+0000) Subject: when the frame is adjusted while the focus_cycle_target is that frame's client, then... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d38c835cefd6ab9d0d1fb82480a1695c76e0b452;p=chaz%2Fopenbox when the frame is adjusted while the focus_cycle_target is that frame's client, then redraw the indicator --- 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(); } }