]> git.sur5r.net Git - i3/i3/blobdiff - include/data.h
Store aspect_ratio instead of weird proportional_{width,height} (Thanks phillip)
[i3/i3] / include / data.h
index b53e277d331aee1a9e2a7e17ac34b2d0c70b5c64..ea1d3240d4157938d017cc37195da934cc7db2a5 100644 (file)
@@ -507,10 +507,8 @@ struct Con {
 
     double percent;
 
-    /* proportional width/height, calculated from WM_NORMAL_HINTS, used to
-     * apply an aspect ratio to windows (think of MPlayer) */
-    int proportional_width;
-    int proportional_height;
+    /* aspect ratio from WM_NORMAL_HINTS (MPlayer uses this for example) */
+    double aspect_ratio;
     /* the wanted size of the window, used in combination with size
      * increments (see below). */
     int base_width;