]> Dogcows Code - chaz/openbox/commitdiff
when the frame is adjusted while the focus_cycle_target is that frame's client, then...
authorDana Jansens <danakj@orodu.net>
Thu, 9 Oct 2003 19:18:20 +0000 (19:18 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 9 Oct 2003 19:18:20 +0000 (19:18 +0000)
openbox/frame.c

index 44ca9c4e997c02f6c0385a96395f4311a220db42..ec7464a1e2280b22fef99e1dd52801f298740bc5 100644 (file)
@@ -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();
     }
 }
 
This page took 0.026732 seconds and 4 git commands to generate.