describe the complicated if a bit :)
This commit is contained in:
parent
07539c38c8
commit
7cbac3c4d5
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
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) ||
|
if ((!user && resized) ||
|
||||||
(user && (final || (resized && config_opaque_resize))))
|
(user && (final || (resized && config_opaque_resize))))
|
||||||
XResizeWindow(ob_display, self->window, w, h);
|
XResizeWindow(ob_display, self->window, w, h);
|
||||||
|
|
Loading…
Reference in a new issue