X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fframe.c;h=e1607f4ec85392fd1e6496a41952e0bc19c81c69;hb=718adbae6534cc5976ac2e3c2f26c22402b27472;hp=6140e5eba1124050d53eee2c6348fa9fc99025fb;hpb=6194c9796c22affe9ac3ee712f3fee4b67a7fe36;p=chaz%2Fopenbox diff --git a/openbox/frame.c b/openbox/frame.c index 6140e5eb..e1607f4e 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -25,7 +25,7 @@ #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" @@ -528,11 +528,9 @@ void frame_adjust_state(ObFrame *self) 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) @@ -1171,6 +1169,10 @@ void frame_end_iconify_animation(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;