X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fframe.c;h=e1607f4ec85392fd1e6496a41952e0bc19c81c69;hb=718adbae6534cc5976ac2e3c2f26c22402b27472;hp=3b01710b563109ff6ff1c726459899ec3dae172d;hpb=5eba6007e78eb52da0a20e954fec9d88124c026d;p=chaz%2Fopenbox diff --git a/openbox/frame.c b/openbox/frame.c index 3b01710b..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" @@ -48,17 +48,6 @@ #define FRAME_HANDLE_Y(f) (f->innersize.top + f->client->area.height + \ f->cbwidth_y) -/* the offsets for the titlebar elements from the edge of the titlebar. - negative means from the right edge. */ -gint icon_off; -gint label_off; -gint iconify_off; -gint desk_off; -gint shade_off; -gint max_off; -gint close_off; - - static void flash_done(gpointer data); static gboolean flash_timeout(gpointer data); @@ -1180,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;