X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=f81d1a2d273a25a874791f34a0a4b96126968b1e;hb=a9fc2665bf728e3300dc0911f4fb42d6fc3a6b36;hp=493a328f7c8969753c18b2aaac30d7d96b0f1460;hpb=958eb5cdbe544b7c9d0f756da576b3074909f114;p=spectrwm.git 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. */