JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
bigger bar, no horiz-stack, no wrap on focus-master
authorJason Woofenden <jason@jasonwoof.com>
Thu, 7 Aug 2014 19:54:49 +0000 (15:54 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Thu, 7 Aug 2014 19:54:49 +0000 (15:54 -0400)
spectrwm.c

index 493a328..f81d1a2 100644 (file)
@@ -367,7 +367,7 @@ enum {
 /* dialog windows */
 double                 dialog_ratio = 0.6;
 /* status bar */
-#define SWM_BAR_MAX            (256)
+#define SWM_BAR_MAX            (356)
 #define SWM_BAR_JUSTIFY_LEFT   (0)
 #define SWM_BAR_JUSTIFY_CENTER (1)
 #define SWM_BAR_JUSTIFY_RIGHT  (2)
@@ -520,7 +520,7 @@ struct layout {
 } layouts[] =  {
        /* stack,               configure */
        { vertical_stack,       vertical_config,        0,      plain_stacker },
-       { horizontal_stack,     horizontal_config,      0,      plain_stacker },
+//     { horizontal_stack,     horizontal_config,      0,      plain_stacker },
        { max_stack,            NULL,
          SWM_L_MAPONFOCUS | SWM_L_FOCUSPREV,                   plain_stacker },
        { NULL,                 NULL,                   0,      NULL  },
@@ -529,7 +529,7 @@ struct layout {
 /* position of max_stack mode in the layouts array, index into layouts! */
 #define SWM_V_STACK            (0)
 #define SWM_H_STACK            (1)
-#define SWM_MAX_STACK          (2)
+#define SWM_MAX_STACK          (1)
 
 #define SWM_H_SLICE            (32)
 #define SWM_V_SLICE            (32)
@@ -4325,7 +4325,7 @@ focus(struct swm_region *r, union arg *args)
 
                winfocus = TAILQ_FIRST(wl);
                if (winfocus == cur_focus)
-                       winfocus = cur_focus->ws->focus_prev;
+                       return;
                break;
        case SWM_ARG_ID_FOCUSURGENT:
                /* Search forward for the next urgent window. */