From: Jason Woofenden Date: Thu, 7 Aug 2014 19:54:49 +0000 (-0400) Subject: bigger bar, no horiz-stack, no wrap on focus-master X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=a9fc2665bf728e3300dc0911f4fb42d6fc3a6b36;hp=958eb5cdbe544b7c9d0f756da576b3074909f114;p=spectrwm.git bigger bar, no horiz-stack, no wrap on focus-master --- diff --git a/spectrwm.c b/spectrwm.c index 493a328..f81d1a2 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -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. */