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:
|
### 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
|
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)
|
- [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
|
- 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/)
|
- [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
|
- 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;
|
selmon->sel->tags = arg->ui & TAGMASK;
|
||||||
focus(NULL);
|
focus(NULL);
|
||||||
arrange(selmon);
|
arrange(selmon);
|
||||||
|
#if VIEWONTAG_PATCH
|
||||||
|
view(arg);
|
||||||
|
#endif // VIEWONTAG_PATCH
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -270,6 +270,11 @@
|
|||||||
*/
|
*/
|
||||||
#define VANITYGAPS_PATCH 0
|
#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
|
/* 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.
|
* when the mouse cursor is (a) on a different screen or (b) on top of a different window.
|
||||||
* https://dwm.suckless.org/patches/warp/
|
* https://dwm.suckless.org/patches/warp/
|
||||||
|
Loading…
Reference in New Issue
Block a user