diff options
| author | bakkeby <[email protected]> | 2021-01-23 16:58:44 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2021-01-23 16:58:44 +0100 |
| commit | b4758c388d968de19d633284e86a33c4fb592982 (patch) | |
| tree | 0a22bd691c36f042a18ea41bee569cf06ffae7e0 /config.def.h | |
| parent | 0f284023050cca4a66479e36bd2fa37a1798bf83 (diff) | |
| download | dwm-flexipatch-b4758c388d968de19d633284e86a33c4fb592982.tar.gz dwm-flexipatch-b4758c388d968de19d633284e86a33c4fb592982.zip | |
placemouse: adding options for tiled position being relative to client center
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index 4019465..dc70ffe 100644 --- a/config.def.h +++ b/config.def.h @@ -1161,7 +1161,12 @@ static Button buttons[] = { #endif // BAR_STATUSCMD_PATCH { ClkClientWin, MODKEY, Button1, movemouse, {0} }, #if PLACEMOUSE_PATCH - { ClkClientWin, MODKEY|ControlMask, Button1, placemouse, {0} }, + /* placemouse options, choose which feels more natural: + * 0 - tiled position is relative to mouse cursor + * 1 - tiled postiion is relative to window center + * 2 - mouse pointer warps to window center + */ + { ClkClientWin, MODKEY|ControlMask, Button1, placemouse, {.i = 1} }, #endif // PLACEMOUSE_PATCH { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, |
