mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
Adding placemouse patch
This commit is contained in:
parent
49839cf6f1
commit
0f28402305
@ -15,6 +15,8 @@ Refer to [https://dwm.suckless.org/](https://dwm.suckless.org/) for details on t
|
||||
|
||||
### Changelog:
|
||||
|
||||
2021-01-22 - Added the placemouse patch
|
||||
|
||||
2021-01-02 - Added the Layoutmenu patch
|
||||
|
||||
2020-10-26 - Added the \_NET\_CLIENT\_LIST\_STACKING patch
|
||||
@ -448,6 +450,9 @@ Refer to [https://dwm.suckless.org/](https://dwm.suckless.org/) for details on t
|
||||
- [pertag](https://dwm.suckless.org/patches/pertag/)
|
||||
- adds nmaster, mfact, layouts and more per tag rather than per monitor
|
||||
|
||||
- [placemouse](https://github.com/bakkeby/patches/wiki/placemouse)
|
||||
- lets the user change the position of a client in the stack using the mouse.
|
||||
|
||||
- [powerline](https://gitlab.com/udiboy1209-suckless/dwm/-/commit/071f5063e8ac4280666828179f92788d893eea40#4b1a539194be7467cefbda22f675a3b7c19ceca7)
|
||||
- adds drawing of powerline arrows (and diagonal lines) for both the status bar and the tags
|
||||
|
||||
|
@ -1160,6 +1160,9 @@ static Button buttons[] = {
|
||||
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
|
||||
#endif // BAR_STATUSCMD_PATCH
|
||||
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
|
||||
#if PLACEMOUSE_PATCH
|
||||
{ ClkClientWin, MODKEY|ControlMask, Button1, placemouse, {0} },
|
||||
#endif // PLACEMOUSE_PATCH
|
||||
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
|
||||
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
|
||||
#if DRAGCFACT_PATCH && CFACTS_PATCH
|
||||
|
3
dwm.c
3
dwm.c
@ -338,6 +338,9 @@ struct Client {
|
||||
#if ISPERMANENT_PATCH
|
||||
int ispermanent;
|
||||
#endif // ISPERMANENT_PATCH
|
||||
#if PLACEMOUSE_PATCH
|
||||
int beingmoved;
|
||||
#endif // PLACEMOUSE_PATCH
|
||||
#if SWALLOW_PATCH
|
||||
int isterminal, noswallow;
|
||||
pid_t pid;
|
||||
|
@ -183,6 +183,9 @@
|
||||
#if PERTAG_PATCH
|
||||
#include "pertag.c"
|
||||
#endif
|
||||
#if PLACEMOUSE_PATCH
|
||||
#include "placemouse.c"
|
||||
#endif
|
||||
#if PUSH_NO_MASTER_PATCH
|
||||
#include "push_no_master.c"
|
||||
#elif PUSH_PATCH
|
||||
|
@ -179,6 +179,9 @@
|
||||
#if PERTAG_PATCH
|
||||
#include "pertag.h"
|
||||
#endif
|
||||
#if PLACEMOUSE_PATCH
|
||||
#include "placemouse.h"
|
||||
#endif
|
||||
#if PUSH_NO_MASTER_PATCH
|
||||
#include "push_no_master.h"
|
||||
#elif PUSH_PATCH
|
||||
|
@ -721,6 +721,11 @@
|
||||
*/
|
||||
#define PERTAGBAR_PATCH 0
|
||||
|
||||
/* This patch lets you change the position of a client in the stack using the mouse.
|
||||
* https://github.com/bakkeby/patches/wiki/placemouse
|
||||
*/
|
||||
#define PLACEMOUSE_PATCH 0
|
||||
|
||||
/* This patch provides a way to move clients up and down inside the client list.
|
||||
* https://dwm.suckless.org/patches/push/
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user