#include "config.h"
#include "framerender.h"
#include "mainloop.h"
-#include "focus.h"
+#include "focus_cycle.h"
#include "moveresize.h"
#include "screen.h"
#include "render/theme.h"
void frame_adjust_focus(ObFrame *self, gboolean hilite)
{
- if (self->focused != hilite) {
- self->focused = hilite;
- framerender_frame(self);
- XFlush(ob_display);
- }
+ self->focused = hilite;
+ framerender_frame(self);
+ XFlush(ob_display);
}
void frame_adjust_title(ObFrame *self)
if (!self->visible)
XUnmapWindow(ob_display, self->window);
+ else
+ /* Send a ConfigureNotify when the animation is done, this fixes
+ KDE's pager showing the window in the wrong place. */
+ client_reconfigure(self->client);
/* we're not animating any more ! */
self->iconify_animation_going = 0;