JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
minor bugfix
[dwm.git] / dwm.c
diff --git a/dwm.c b/dwm.c
index 51d270e..0071379 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -96,7 +96,8 @@ typedef struct {
        const char *symbol;
        void (*arrange)(void);
        Bool isfloating;
-} Layout;
+} Layout; /* TODO: layout should keep an auxilliary pointer to its Geometry,
+            instead of having all those layout specific vars globally */
 
 typedef struct {
        const char *prop;
@@ -1406,7 +1407,7 @@ setdefaultgeoms(void) {
        mh = wh;
 
        /* tile area */
-       tx = wx;
+       tx = mx + mw;
        ty = wy;
        tw = ww - mw;
        th = wh;