send the client's border width in configurenotify messages, so it can get the right offset

This commit is contained in:
Dana Jansens 2007-05-26 22:28:27 +00:00
parent ca8924a5a0
commit a4f868a195

View file

@ -2931,7 +2931,7 @@ void client_configure(ObClient *self, gint x, gint y, gint w, gint h,
event.xconfigure.y = self->root_pos.y;
event.xconfigure.width = w;
event.xconfigure.height = h;
event.xconfigure.border_width = 0;
event.xconfigure.border_width = self->border_width;
event.xconfigure.above = self->frame->plate;
event.xconfigure.override_redirect = FALSE;
XSendEvent(event.xconfigure.display, event.xconfigure.window,