]> Dogcows Code - chaz/openbox/commitdiff
attemp #3
authorDana Jansens <danakj@orodu.net>
Wed, 30 Jul 2003 16:15:51 +0000 (16:15 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 30 Jul 2003 16:15:51 +0000 (16:15 +0000)
openbox/client.c

index bdb2c8fa76d87caeef303f8bcc9074b18a4f0d15..0c6a5a6e12da8ceb4f5024f67e3f665f962614d5 100644 (file)
@@ -1791,8 +1791,8 @@ void client_configure_full(ObClient *self, ObCorner anchor,
   
         /* store the logical size */
         SIZE_SET(self->logical_size,
-                 self->size_inc.width == 1 ? w : w + basew,
-                 self->size_inc.height == 1 ? h : h + baseh);
+                 self->size_inc.width > 1 ? w : w + basew,
+                 self->size_inc.height > 1 ? h : h + baseh);
 
         w *= self->size_inc.width;
         h *= self->size_inc.height;
This page took 0.028258 seconds and 4 git commands to generate.