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:
d2fb93e
)
be paranoid about programs setting 0 resize increments, which results in a divide...
author
Mikael Magnusson
<mikachu@comhem.se>
Wed, 2 Aug 2006 16:36:29 +0000
(16:36 +0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Wed, 2 Aug 2006 16:36:29 +0000
(16:36 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index aa7812e63188e8d693c1d0bb01eecc2cd9a77b81..11f2012f474ba09d1208d38025bc53d511417d6a 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-1234,7
+1234,7
@@
void client_update_normal_hints(ObClient *self)
if (size.flags & PBaseSize)
SIZE_SET(self->base_size, size.base_width, size.base_height);
- if (size.flags & PResizeInc)
+ if (size.flags & PResizeInc
&& size.width_inc && size_height_inc
)
SIZE_SET(self->size_inc, size.width_inc, size.height_inc);
}
}