X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=2285bed853179db43500e66918340b58dd1cd4bb;hb=0417d1226c7a523cd4420195d86dd744f514b2fe;hp=eaf6907aab304182d5663d9477ae66ebffecb56d;hpb=e74fbdaa0e8ee61b747b4efb4f66ae3992af925c;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index eaf6907a..2285bed8 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3008,6 +3008,12 @@ void client_set_undecorated(ObClient *self, gboolean undecorated) if (self->undecorated != undecorated) { self->undecorated = undecorated; client_setup_decor_and_functions(self); + // Make sure the client knows it might have moved. Maybe there is a + // better way of doing this so only one client_configure is sent, but + // since 125 of these are sent per second when moving the window (with + // user = FALSE) i doubt it matters much. + client_configure(self, OB_CORNER_TOPLEFT, self->area.x, self->area.y, + self->area.width, self->area.height, TRUE, TRUE); client_change_state(self); /* reflect this in the state hints */ } }