all repos — openbox @ d38c835cefd6ab9d0d1fb82480a1695c76e0b452

openbox fork - make it a bit more like ryudo

when the frame is adjusted while the focus_cycle_target is that frame's client, then redraw the indicator
Dana Jansens danakj@orodu.net
commit

d38c835cefd6ab9d0d1fb82480a1695c76e0b452

parent

ff08e38027b9af9a7c5846ab530afbed2fa38d43

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M openbox/frame.copenbox/frame.c

@@ -24,6 +24,7 @@ #include "prop.h"

#include "config.h" #include "framerender.h" #include "mainloop.h" +#include "focus.h" #include "moveresize.h" #include "render/theme.h"

@@ -420,6 +421,11 @@ vals[3] = self->size.bottom;

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(); } }