Adding viewontag patch

pull/32/head
bakkeby 5 years ago
parent f60b0b5121
commit 49218e94b5

@ -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/

Loading…
Cancel
Save