summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-10-09 19:18:20 +0000
committerDana Jansens <danakj@orodu.net>2003-10-09 19:18:20 +0000
commitd38c835cefd6ab9d0d1fb82480a1695c76e0b452 (patch)
tree1d29686674f7cb84ac0232564f027b9c5f6ccebf /openbox
parentff08e38027b9af9a7c5846ab530afbed2fa38d43 (diff)
when the frame is adjusted while the focus_cycle_target is that frame's client, then redraw the indicator
Diffstat (limited to 'openbox')
-rw-r--r--openbox/frame.c6
1 files changed, 6 insertions, 0 deletions
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();
}
}