describe the complicated if a bit :)

This commit is contained in:
Dana Jansens 2003-06-08 22:38:31 +00:00
parent 07539c38c8
commit 7cbac3c4d5

View file

@ -1761,6 +1761,9 @@ void client_configure(Client *self, Corner anchor, int x, int y, int w, int h,
RECT_SET(self->area, x, y, w, h);
/* for app-requested resizes, always resize if 'resized' is true.
for user-requested ones, only resize if final is true, or when
resizing in opaque mode */
if ((!user && resized) ||
(user && (final || (resized && config_opaque_resize))))
XResizeWindow(ob_display, self->window, w, h);