]> Dogcows Code - chaz/openbox/commitdiff
include the base size in the logical size
authorDana Jansens <danakj@orodu.net>
Wed, 30 Jul 2003 16:09:56 +0000 (16:09 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 30 Jul 2003 16:09:56 +0000 (16:09 +0000)
openbox/client.c

index 99757916fa7670df03c6899f381903bb2621c941..4612bd8625c080214953833ff9c2c745e8b415b9 100644 (file)
@@ -1790,7 +1790,9 @@ void client_configure_full(ObClient *self, ObCorner anchor,
         if (baseh + h < 1) h = 1 - baseh;
   
         /* store the logical size */
-        SIZE_SET(self->logical_size, w, h);
+        SIZE_SET(self->logical_size,
+                 w + basew / self->size_inc.width,
+                 h + baseh / self->size_inc.height);
 
         w *= self->size_inc.width;
         h *= self->size_inc.height;
This page took 0.030294 seconds and 4 git commands to generate.