mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
Adding viewontag patch
This commit is contained in:
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
|
||||
|
||||
|
3
dwm.c
3
dwm.c
@ -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…
Reference in New Issue
Block a user