diff options
| author | bakkeby <[email protected]> | 2019-09-15 23:42:47 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2019-09-15 23:42:47 +0200 |
| commit | 49218e94b556a65f6e0ef4901b1feb331b1003a5 (patch) | |
| tree | 282f2797a0b9fa86ed27568b783f79248525fd8d | |
| parent | f60b0b5121fb68e4dbb76036ec3efd24fe6c904c (diff) | |
| download | dwm-flexipatch-49218e94b556a65f6e0ef4901b1feb331b1003a5.tar.gz dwm-flexipatch-49218e94b556a65f6e0ef4901b1feb331b1003a5.zip | |
Adding viewontag patch
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | dwm.c | 3 | ||||
| -rw-r--r-- | patches.h | 5 |
3 files changed, 12 insertions, 1 deletions
@@ -13,7 +13,7 @@ Refer to [https://dwm.suckless.org/](https://dwm.suckless.org/) for details on t ### Changelog: -2019-09-15 - Added xrdb and winview patches +2019-09-15 - Added xrdb, viewontag and winview patches 2019-09-14 - Added setborderpx, selfrestart and push (no master variant), sticky and warp patches @@ -157,6 +157,9 @@ Refer to [https://dwm.suckless.org/](https://dwm.suckless.org/) for details on t - [vanitygaps](https://github.com/bakkeby/dwm-vanitygaps/blob/master/patches/dwm-vanitygaps-6.2.diff) - adds configurable gaps between windows differentiating between outer, inner, horizontal and vertical gaps + - [viewontag](https://dwm.suckless.org/patches/viewontag/) + - follow a window to the tag it is being moved to + - [warp](https://dwm.suckless.org/patches/warp/) - warps the mouse cursor to the center of the currently focused window or screen when the mouse cursor is (a) on a different screen or (b) on top of a different window @@ -2439,6 +2439,9 @@ tag(const Arg *arg) selmon->sel->tags = arg->ui & TAGMASK; focus(NULL); arrange(selmon); + #if VIEWONTAG_PATCH + view(arg); + #endif // VIEWONTAG_PATCH } } @@ -270,6 +270,11 @@ */ #define VANITYGAPS_PATCH 0 +/* Follow a window to the tag it is being moved to. + * https://dwm.suckless.org/patches/viewontag/ + */ +#define VIEWONTAG_PATCH 0 + /* This patch warps the mouse cursor to the center of the currently focused window or screen * when the mouse cursor is (a) on a different screen or (b) on top of a different window. * https://dwm.suckless.org/patches/warp/ |
