]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
attempt #2 at better logical size values
[chaz/openbox] / openbox / client.c
index 4612bd8625c080214953833ff9c2c745e8b415b9..af445e746941e1c99c9af3655dbc92398c7dd676 100644 (file)
@@ -1791,8 +1791,8 @@ void client_configure_full(ObClient *self, ObCorner anchor,
   
         /* store the logical size */
         SIZE_SET(self->logical_size,
-                 w + basew / self->size_inc.width,
-                 h + baseh / self->size_inc.height);
+                 self->size_inc.width ? w : w + basew,
+                 self->size_inc.height ? h : h + baseh);
 
         w *= self->size_inc.width;
         h *= self->size_inc.height;
This page took 0.024143 seconds and 4 git commands to generate.