diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2022-12-02 15:25:32 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2022-12-02 15:25:32 -0500 |
| commit | 1e641bc18a24eef6ef045ccaee4ca4f88b23d359 (patch) | |
| tree | aa3261229eeef2c9b3360242bed3a3e1d7d72048 /dwm.c | |
| parent | e58117ad94ae324fc9dd3a6851b0e6aea78cf05e (diff) | |
| download | dwm-1e641bc18a24eef6ef045ccaee4ca4f88b23d359.tar.gz | |
Viewing all tags automatically enters grid mode
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2453,6 +2453,11 @@ view(const Arg *arg) if (arg->ui == ~0) { selmon->pertag->curtag = 0; selmon->tagset[selmon->seltags] ^= SPTAGMASK; + // Force set the layout to grid when viewing + // all tags + Arg tmp; + tmp.v = &layouts[7]; + setlayout(&tmp); } else { for (i = 0; !(arg->ui & 1 << i); i++) ; |