projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07539c3
)
describe the complicated if a bit :)
author
Dana Jansens
<danakj@orodu.net>
Sun, 8 Jun 2003 22:38:31 +0000
(22:38 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 8 Jun 2003 22:38:31 +0000
(22:38 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index b7800a5ecf3634261f9ce078fe946aa4642accf3..13cd7258c3db27ca439b1d00f8d394b0ef8047d7 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-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);